다음을 통해 공유


CMFCBaseTabCtrl::SetTabTextColor

Sets the text color for a specific tab.

virtual BOOL SetTabTextColor(
   int iTab,
   COLORREF color = (COLORREF)-1
);

Parameters

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

  • [in] color
    A COLORREF parameter that indicates the new text color.

Return Value

Nonzero if successful; 0 otherwise.

Requirements

Header: afxbasetabctrl.h

See Also

Reference

CMFCBaseTabCtrl Class

Hierarchy Chart

CMFCBaseTabCtrl::GetTabTextColor