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.
Specifies the resource ID of the shortcut menu that is associated with the button.
void SetContextMenuID(UINT uiResID);
Parameters
- [in] uiCmd
The resource ID of the shortcut menu.
Remarks
The framework uses the resource ID to create the shortcut menu when the user right-clicks the toolbar button.
Requirements
Header: afxtoolbareditboxbutton.h