共用方式為


COleIPFrameWndEx::EnablePaneMenu

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.

void EnablePaneMenu(
   BOOL bEnable,
   UINT uiCustomizeCmd,
   const CString& strCustomizeLabel,
   UINT uiViewToolbarsMenuEntryID,
   BOOL bContextMenuShowsToolbarsOnly = FALSE,
   BOOL bViewMenuShowsToolbarsOnly = FALSE
);

Parameters

  • [in] bEnable
     

  • [in] uiCustomizeCmd
     

  • [in] strCustomizeLabel
     

  • [in] uiViewToolbarsMenuEntryID
     

  • [in] bContextMenuShowsToolbarsOnly
     

  • [in] bViewMenuShowsToolbarsOnly
     

Requirements

Header: afxoleipframewndex.h

See Also

Reference

COleIPFrameWndEx Class

Hierarchy Chart