UINT CBCGPToolBar::GetItemID | ( | int | nIndex | ) | const |
Given a toolbar button's index retrieves the button's command ID.
Call this member function to retrieve a toolbar button's command ID by the button's index. This index identifies the button in the toolbar's internal list of buttons.
nIndex | Specifies the toolbar button's index. |