LVM_SETBKCOLOR message

Sets the background color of a list-view control. You can send this message explicitly or by using the ListView_SetBkColor macro.

Parameters

wParam

Must be zero.

lParam

Background color to set or the CLR_NONE value for no background color. List-view controls with background colors redraw themselves significantly faster than those without background colors.

Return value

Returns TRUE if successful, or FALSE otherwise.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h