|
inlinevirtual |
Called by the framework when the user selects (clicks) a menu item.
When the user selects (clicks) a menu item the framework invokes a command associated with the selected item.
If you want to customize the menu item processing, you should override OnClickMenuItem in a CBCGPToolbarMenuButton - derived class. Then, you have to override CBCGPFrameWnd::OnShowPopupMenu and replace the buttons that require a special processing by the instances of the CBCGPToolbarMenuButton - derived class.
If OnClickMenuItem returns TRUE the further processing will be stopped. The default implementation returns FALSE.