CTreeCtrl::SetTextColor

COLORREF SetTextColor( COLORREF clr );

Return Value

A COLORREF value that represents the previous text color. If this value is -1, the control was using the system color for the text color.

Parameters

clr

A COLORREF value that contains the new text color. If this argument is -1, the control will revert to using the system color for the text color.

Remarks

This member function implements the behavior of the Win32 message TVM_SETTEXTCOLOR, as described in the Platform SDK.

CTreeCtrl OverviewClass MembersHierarchy Chart

See Also   CTreeCtrl::GetTextColor