This macro sets the background color a list view control. You can use this macro or send the LVM_SETBKCOLOR message explicitly.
At a Glance
Header file: | Commctrl.h |
Windows CE versions: | 1.0 and later |
Related message: | LVM_SETBKCOLOR |
Syntax
BOOL ListView_SetBkColor( HWND hwnd, COLORREF clrBk );
Parameters
hwnd
Handle to the list view control.
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.