SB_SETBKCOLOR message

Sets the background color in a status bar.

Parameters

wParam

Must be zero.

lParam

COLORREF value that specifies the new background color. Specify the CLR_DEFAULT value to cause the status bar to use its default background color.

Return value

Returns the previous background color, or CLR_DEFAULT if the background color is the default color.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h