Freigeben über


CMFCToolBarEditBoxButton::GetContextMenuID

Retrieves the resource ID of the shortcut menu that is associated with the button.

UINT GetContextMenuID();

Return Value

The resource ID of the shortcut menu that is associated with the button or 0 if the button has no associated shortcut menu.

Remarks

The framework uses the resource ID to create the shortcut menu when the user right-clicks on the button.

Requirements

Header: afxtoolbareditboxbutton.h

See Also

Reference

CMFCToolBarEditBoxButton Class

Hierarchy Chart

CMFCToolBarEditBoxButton::SetContextMenuID