TVM_SETTEXTCOLORTVM_SETTEXTCOLOR*
*Contents  *Index  *Topic Contents
*Previous Topic: TVM_SETSCROLLTIME
*Next Topic: TVM_SETTOOLTIPS

TVM_SETTEXTCOLOR


TVM_SETTEXTCOLOR
    wParam = 0;
    lParam = (LPARAM)(COLORREF) clrText;

Sets the text color of the control. You can send this message explicitly or by using the TreeView_SetTextColor macro.

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 TVM_GETTEXTCOLOR


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.