Dela via


CMFCVisualManager::SetFadeInactiveImage

Enables or disables the lighting effect for inactive images on a menu or toolbar.

void SetFadeInactiveImage(
   BOOL bFade = TRUE
);

Parameters

  • [in] bFade
    A Boolean parameter that specifies whether to enable the lighting effect.

Remarks

This feature controls whether inactive images appear faded on a menu or toolbar. Use the method CMFCVisualManager::IsFadeInactiveImage to determine whether this feature is enabled.

Requirements

Header: afxvisualmanager.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCVisualManager Class

CMFCVisualManager::IsFadeInactiveImage