ICommandUI::ID
Gets the ID of the user interface object represented by the ICommandUI object.
property unsigned int ID;
Заметки
This property gets the ID (a handle) of the menu item, toolbar button, or other user interface object represented by the ICommandUI object.
Требования
Header: afxwinforms.h