Prev Next

LVM_SETBKCOLOR Overview  Group

The 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.

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

Returns TRUE if successful or FALSE otherwise.

See Also

ListView_SetBkColor