LVM_SETTEXTCOLOR (Compact 2013)

3/28/2014

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

Syntax

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

Parameters

  • wParam
    Not used.
  • clrText
    New text color.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

Related macro ListView_SetTextColor

Requirements

Header

commctrl.h

See Also

Reference

List-View Controls Messages
COLORREF
ListView_SetTextColor