LVM_SETBKCOLOR

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

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later
Related macro: ListView_SetBkColor

Syntax

LVM_SETBKCOLOR wParam = 0;
lParam = (LPARAM)(COLORREF) clrBk;

Parameters

clrBk

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 Values

TRUE indicates success. FALSE indicates failure.