|
protectedvirtual |
Override to modify a context menu displayed in customization mode.
Override this function to modify the framework standard context menu displayed in customization mode. The default implementation checks for customization mode (CBCGPToolBar::IsCustomizeMode) and if it is true disables all the context menu items except "Delete". Then, it just passes the input parameters to CBCGPToolBar::EnableContextMenuItems.
pButton | A pointer to a toolbar button that was clicked. |
pPopup | A pointer to context menu. |
Reimplemented from CBCGPToolBar.