CToolBarCtrl::CommandToIndex
Retrieves the zero-based index for the button associated with the specified command identifier.
UINT CommandToIndex(
UINT nID
) const;
Параметры
- nID
Command ID whose button index you want to find.
Возвращаемое значение
The zero-based index for the button associated with the command ID.
Заметки
CToolBarCtrl Overview | Class Members | Hierarchy Chart | CToolBarCtrl::SetCmdID | CToolBarCtrl::GetButton | CToolBarCtrl::AddButtons | CToolBarCtrl::InsertButton
Требования
Header: afxcmn.h