Dela via


CMFCBaseTabCtrl::GetActiveTabTextColor

Retrieves the text color for the active tab.

virtual COLORREF GetActiveTabTextColor() const;

Return Value

A COLORREF value that specifies the text color of the active tab.

Remarks

By default, the text color for active tabs is COLOR_WINDOWTEXT. You can change the text color with the method CMFCBaseTabCtrl::SetActiveTabTextColor.

Requirements

Header: afxbasetabctrl.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCBaseTabCtrl Class

CMFCBaseTabCtrl::SetActiveTabTextColor