Dela via


CMFCVisualManager::GetAutoHideButtonTextColor

The framework calls this method to retrieve the text color of an auto-hide button.

virtual COLORREF GetAutoHideButtonTextColor(
   CMFCAutoHideButton* pButton 
);

Parameters

  • [in] pButton
    A pointer to an auto-hide button.

Return Value

A COLORREF parameter that specifies the text color of pButton.

Remarks

Override this method in a derived class to customize the text color of an auto-hide button in your application. To do this, return the color that you want your application to use as the text color.

Requirements

Header: afxvisualmanager.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCVisualManager Class