Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the zero-based index for the button associated with the specified command identifier.
UINT CommandToIndex(
UINT nID
) const;
Parameters
- nID
Command ID whose button index you want to find.
Return Value
The zero-based index for the button associated with the command ID.
Remarks
CToolBarCtrl Overview | Class Members | Hierarchy Chart | CToolBarCtrl::SetCmdID | CToolBarCtrl::GetButton | CToolBarCtrl::AddButtons | CToolBarCtrl::InsertButton
Requirements
Header: afxcmn.h