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.
Allows the button to modify 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 FALSE.
Remarks
The default implementation does nothing and returns FALSE. Override this method and return a nonzero value if you want to modify the contents of the provided menu.
Requirements
Header: afxtoolbarbutton.h