Partager via


CMFCMenuBar::HighlightDisabledItems

Controls whether the framework highlights disabled menu items.

static void HighlightDisabledItems(
   BOOL bHighlight = TRUE
);

Parameters

  • [in] bHighlight
    A Boolean parameter that indicates whether the framework highlights unavailable menu items.

Remarks

By default, the framework does not highlight unavailable menu items when the user positions the mouse pointer over them.

Requirements

Header: afxmenubar.h

See Also

Reference

CMFCMenuBar Class

Hierarchy Chart

CMFCMenuBar::IsHighlightDisabledItems