BCGControlBar Pro for MFC
virtual BOOL CBCGPFrameWnd::OnShowPopupMenu ( CBCGPPopupMenu pMenuPopup)
virtual

Called by the framework when a popup menu is being activated.

Returns
It should be 0 if the popup menu is not allowed to be displayed. The default implementation returns nonzero.

Override this function if you need a special processing upon a popup menu activation. For example, if you need to change regular menu items to the color menu buttons, setup tear-off bars and so on.

The default sends EVENT_SYSTEM_MENUPOPUPSTART MSAA notification.

A pointer to popup menu object