共用方式為


CMFCPopupMenu::CMFCPopupMenu

Constructs a CMFCPopupMenu object.

CMFCPopupMenu(
   CMFCToolBarsMenuPropertyPage* pCustPage,
   LPCTSTR lpszTitle 
);

Parameters

  • [in] pCustPage
    A pointer to a customization page.

  • [in] lpszTitle
    A string that contains the menu caption.

Remarks

This method allocates the resources for a CMFCPopupMenu. To create the pop-up menu item, call CMFCPopupMenu::Create.

Requirements

Header: afxpopupmenu.h

See Also

Reference

CMFCPopupMenu Class

Hierarchy Chart