Compartilhar via


CMFCVisualManager::IsFadeInactiveImage

The framework calls this method when it draws inactive images on the toolbar or in a menu.

BOOL IsFadeInactiveImage() const;

Return Value

Nonzero if the framework uses the lighting effect when it draws inactive images on the toolbar or in a menu; otherwise 0.

Remarks

You can activate or deactivate the lighting effect by calling CMFCVisualManager::SetFadeInactiveImage. The lighting effect is what makes unavailable images appear faded.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart

CMFCVisualManager::SetFadeInactiveImage