次の方法で共有


LVM_SETTEXTBKCOLOR (Compact 2013)

3/28/2014

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

See Also

Reference

List-View Controls Messages
COLORREF
ListView_SetTextBkColor