Share via


CFrameWndEx::OnClosePopupMenu

Called by the framework when an active pop-up menu processes a WM_DESTROY message.

virtual void OnClosePopupMenu(
   CMFCPopupMenu* pMenuPopup 
);

Parameters

  • pMenuPopup
    A pointer to a pop-up menu.

Remarks

The framework sends a WM_DESTROY message when it is about to close the window. Override this method if you want to handle notifications from CMFCPopupMenu objects that belong to the frame window when a CMFCPopupMenu object is processing a WM_DESTROY message sent by the framework when the window is being closed.

Requirements

Header: afxframewndex.h

See Also

Reference

CFrameWndEx Class

Hierarchy Chart