共用方式為


CMFCVisualManager::GetToolbarDisabledTextColor

The framework calls this function to determine the text color of toolbar buttons that are unavailable.

virtual COLORREF GetToolbarDisabledTextColor();

Return Value

The color that the framework uses for the text color of toolbar buttons that are unavailable.

Remarks

Override this method in a custom visual manager to set the text color of toolbar buttons that are unavailable .

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart