Dela via


CMFCBaseTabCtrl::GetTabTextColor

Retrieves the text color for the specified tab.

virtual COLORREF GetTabTextColor(
   int iTab
) const;

Parameters

  • [in] iTab
    The zero-based index of the tab.

Return Value

A COLORREF parameter that indicates the text color of the specified tab; -1 if iTab is out of range.

Requirements

Header: afxbasetabctrl.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCBaseTabCtrl Class

CMFCBaseTabCtrl::SetTabTextColor