Partager via


LVM_SETTEXTBKCOLOR

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Syntax

LVM_SETTEXTBKCOLOR 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_SetTextBkColor

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_SetTextBkColor
List-View Controls Messages