Share via


CMFCMenuBar::IsShowAllCommands

Indicates whether menus display all commands.

static BOOL IsShowAllCommands();

Return Value

Nonzero if the CMFCMenuBar displays all commands; otherwise 0.

Remarks

A CMFCMenuBar object can be configured to either show all commands or show only a subset of commands. For more information about this feature, see CMFCMenuBar Class.

IsShowAllCommands will tell you how this feature is configured for the CMFCMenuBar object. To control which menu commands are shown, use the methods CMFCMenuBar::SetShowAllCommands and CMFCMenuBar::SetRecentlyUsedMenus.

Requirements

Header: afxmenubar.h

See Also

Reference

CMFCMenuBar Class

Hierarchy Chart

CMFCMenuBar::SetShowAllCommands

CMFCMenuBar::SetRecentlyUsedMenus