BCGControlBar Pro for MFC
CBCGPPopupMenu* CBCGPMDIFrameWnd::GetActivePopup ( ) const
inline

Returns a pointer to the currently displayed popup menu.

Returns
A pointer to the active popup menu; otherwise NULL.

Use this function to get a pointer to the CBCGPPopupMenu object that is currently displayed.