BCGControlBar Pro for MFC
virtual void CBCGPFrameWnd::OnClosePopupMenu ( CBCGPPopupMenu pMenuPopup)

Called by the framework when an active popup menu is being destroyed.

Override this member function if you want to receive notifications from CBCGPPopupMenu objects that belong to the frame window when a CBCGPPopupMenu object is processing WM_DESTROY message.

pMenuPopupPoints to a popup menu.