Partager via


LVM_SETTEXTCOLOR

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

COLORREF
ListView_SetTextColor
List-View Controls Messages