Dela via


CMFCBaseTabCtrl::GetActiveTabColor

Retrieves the background color of the currently active tab.

virtual COLORREF GetActiveTabColor() const;

Return Value

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

Remarks

By default, the background color of the active tab is COLOR_WINDOW. You can change the background color for the active tab by using the method CMFCBaseTabCtrl::SetActiveTabColor.

Requirements

Header: afxbasetabctrl.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCBaseTabCtrl Class

CMFCBaseTabCtrl::SetActiveTabColor