共用方式為


CMFCMenuBar::SetRecentlyUsedMenus

Controls whether a menu bar displays recently used menu commands.

static void SetRecentlyUsedMenus (
   BOOL bOn = TRUE
);

Parameters

  • [in] bOn
    A Boolean that controls whether recently used menu commands are displayed.

Requirements

Header: afxmenubar.h

See Also

Reference

CMFCMenuBar Class

Hierarchy Chart

CMFCMenuBar::IsRecentlyUsedMenus