共用方式為


CMDIFrameWndEx::OnClosePopupMenu

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

virtual void OnClosePopupMenu(
   CMFCPopupMenu* pMenuPopup 
);

Parameters

  • [in] pMenuPopup
    Pointer to a pop-up menu.

Remarks

Override this method if you want to process notifications from CMFCPopupMenu Class objects that belong to the MDI frame window when those objects process WM_DESTROY messages.

Requirements

Header: afxMDIFrameWndEx.h

See Also

Reference

CMDIFrameWndEx Class

Hierarchy Chart