ListView_SetBkColor  1JU5_SJ 

The ListView_SetBkColor macro sets the background color of a list view control. You can use this macro or explicitly send the LVM_SETBKCOLORYHDC4C 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

LVM_SETBKCOLOR