Partager via


CMFCMenuBar::IsShowAllCommandsDelay

Indicates whether the CMFCMenuBar object displays all the commands after a short delay.

static BOOL IsShowAllCommandsDelay();

Return Value

Nonzero if the menu bar displays full menus after a short delay; otherwise 0.

Remarks

When you configure a menu bar to display recently used items, the menu bar displays the full menu in one of two ways:

  • Display the full menu after a programmed delay from when the user hovers the cursor over the arrow at the bottom of the menu.

  • Display the full menu after the user clicks the arrow at the bottom of the menu.

By default, all CMFCMenuBar objects use the option to display the full menu after a short delay. This option cannot be changed programmatically in the CMFCMenuBar class. However, a user can change the behavior during toolbar customization by using the Customize dialog box..

Requirements

Header: afxmenubar.h

See Also

Reference

CMFCMenuBar Class

Hierarchy Chart