CMDIFrameWndEx::GetActivePopup
Visual Studio 2012
Returns a pointer to the currently displayed popup menu.
CMFCPopupMenu* GetActivePopup() const;
Use this function to obtain a pointer to the CMFCPopupMenu Class object that is currently displayed.