共用方式為


CMFCPopupMenu::CreateTearOffBar

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

virtual CPane* CreateTearOffBar(
   CFrameWnd* pWndMain,
   UINT uiID,
   LPCTSTR lpszName
);

Parameters

  • [in] pWndMain
     

  • [in] uiID
     

  • [in] lpszName
     

Requirements

Header: afxpopupmenu.h

See Also

Reference

CMFCPopupMenu Class

Hierarchy Chart