The ListView_SetBkColor macro sets the background color of a list view control. You can use this macro or explicitly send the LVM_SETBKCOLOR message.
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
Returns TRUE if successful or FALSE otherwise.
See Also