![]() | ![]() | ![]() |
| ||
|
TreeView_SetTextColor
COLORREF TreeView_SetTextColor( HWND hwndTV COLORREF clrText; );Sets the text color of the control. You can use this macro or send the TVM_SETTEXTCOLOR message explicitly.
- Returns 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.
- hwndTV
- Handle to a tree view control.
- clrText
- 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.
Version 4.71
See also TreeView_GetTextColor
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.