Freigeben über


CMFCMenuBar::SetShowAllCommands

Controls whether a menu shows all the available commands.

static void SetShowAllCommands(
   BOOL bShowAllCommands = TRUE
);

Parameters

  • [in] bShowAllCommands
    A Boolean parameter that specifies whether the pop-up menu shows all the menu commands.

Remarks

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.

Requirements

Header: afxmenubar.h

See Also

Reference

CMFCMenuBar Class

Hierarchy Chart

CMFCMenuBar::IsShowAllCommands