共用方式為


CMFCMenuBar::IsRecentlyUsedMenus

Indicates whether recently used menu commands are displayed on the menu bar.

static BOOL IsRecentlyUsedMenus();

Return Value

Nonzero if the CMFCMenuBar object shows recently used menu commands; otherwise 0.

Remarks

Use the function CMFCMenuBar::SetRecentlyUsedMenus to control whether the menu bar shows recently used menu commands.

Requirements

Header: afxmenubar.h

See Also

Reference

CMFCMenuBar Class

Hierarchy Chart

CMFCMenuBar::SetRecentlyUsedMenus