Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

CMFCMenuBar::SetShowAllCommands

Controls whether a menu shows all the available commands.

static void SetShowAllCommands(
   BOOL bShowAllCommands = TRUE
);

[in] bShowAllCommands

A Boolean parameter that specifies whether the pop-up menu shows all the menu commands.

If a menu does not display all the menu commands, it hides the commands that are rarely used. For more information about displaying menu commands, see CMFCMenuBar Class.

Header: afxmenubar.h

Show:
© 2015 Microsoft