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.
Modifies the provided menu when the application displays a shortcut menu on the parent toolbar.
virtual BOOL OnCustomizeMenu(
CMenu* pMenu
);
Parameters
- [in] pMenu
The menu to customize.
Return Value
This method returns TRUE.
Remarks
This method extends the base class implementation (CMFCToolBarButton::OnCustomizeMenu) by disabling the following menu items:
Copy Button Image
Button Appearance
Image
Text
Image and Text
Override this method to modify the shortcut menu that the framework displays in customization mode.
Requirements
Header: afxdropdowntoolbar.h