BCGControlBar Pro for MFC
virtual BOOL CBCGPToolbarMenuButton::OpenPopupMenu ( CWnd *  pWnd = NULL)
virtual

Called by the framework when the user selects the toolbar menu button and it is required to open a popup menu.

Returns
Nonzero when a popup menu was created and opened successfully; otherwise 0.

This function is called by the framework when it is required to open a popup menu from the currently selected toolbar menu button.

Parameters
pWndSpecifies the window that will receive the popup menu commands. It can be NULL only if the toolbar menu button has a parent window.