CToolBar::GetItemID
UINTGetItemID(intnIndex**)const;**
Return Value
The command ID of the button or separator specified by nIndex.
Parameters
nIndex
Index of the item whose ID is to be retrieved.
Remarks
This member function returns the command ID of the button or separator specified by nIndex. Separators return ID_SEPARATOR.