Expand Minimize
This topic has not yet been rated - Rate this topic

CFrameWndEx::EnablePaneMenu

Enables or disables the automatic handling of the pane menu.

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

TRUE to enable the automatic handling of the control bar pop-up menus; FALSE to disable the automatic handling of the control bar pop-up menus.

[in] uiCustomizeCmd

The command ID of the Customize menu item.

[in] strCustomizeLabel

The label to be displayed for the Customize menu item

[in] uiViewToolbarsMenuEntryID

The ID of a toolbar menu item that opens the pop-up menu in the control bar.

[in] bContextMenuShowsToolbarsOnly

If TRUE, the control bar context menu displays the list of toolbars only. If FALSE, the menu displays the list of the toolbars and the docking bars.

[in] bViewMenuShowsToolbarsOnly

If TRUE, the control bar menu displays the list of the toolbars only. If FALSE, the menu displays the list of the toolbars and the docking bars.

Header: afxframewndex.h

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.