|
Support
ActiveX / COM
Visual C++ / MFC
Customer Spotlight
Corporate Partners
Contact Sales
Call center available M-F 9:00 - 6:00 US Eastern Time. U.S. and Canada International Email |
Making a Group Special
Author: Mike Palmatier
Posted: May 3, 2006
Environment: Visual C++ 6.0
You can designate a task panel group as "special." Groups marked as special will be displayed differently than normal groups drawing the users attention to that particular group. This is an excellent way to show the user the "default" or important items.
"Special" group
Normal group
To set a group as special all you need to do is use the SetSpecialGroup method.
CXTPTaskPanelGroup* pGroupSystem = m_wndTaskPanel.AddGroup(ID_TASKGROUP_SYSTEM); pGroupSystem->SetIconIndex(IDI_SYSTEM_TASKS);
pGroupSystem->AddLinkItem(ID_TASKITEM_HIDECONTENTS, 0); pGroupSystem->AddLinkItem(ID_TASKITEM_ADDORREMOVE, 1); pGroupSystem->AddLinkItem(ID_TASKITEM_SEARCH, 2);
pGroupSystem->SetSpecialGroup(); |
