SECToolBarManager::SetButtonMap
voidSECToolBarManager::SetButtonMap(const SECBtnMapEntry*pMap)
Sets the toolbar button map associated with all custom toolbars.
Defined in: tbarmgr.cpp
Return Value
void
Parameters
pMap
Pointer to button map
Comments
The button map allows you to map specific command ids from the bitmap resource to non-standard toolbar buttons such as combo boxes and "two part" buttons. Consult the OT user's guide for more information on button maps and the associated macros. Also check out the "ToolBar" and "Viz" sample applications.
Example
BEGIN_BUTTON_MAP(btnMap)
COMBO_BUTTON(ID_EDIT_FIND, IDC_COMBO_FIND, SEC_TBBS_VCENTER, CBS_DROPDOWN, 150, 70, 150)
END_BUTTON_MAP()
...
pToolBarMgr->SetButtonMap(btnMap);