LVM_SETTEXTCOLOR

This message sets the text color of a list-view control. You can send this message explicitly or by using the ListView_SetTextColor macro.

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

Parameters

  • wParam
    Not used.
  • clrText
    New text color.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

Related macro:ListView_SetTextColor

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

COLORREF | ListView_SetTextColor | List-View Controls Messages

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.