PBM_SETBKCOLOR message

Sets the background color in the progress bar.

Parameters

wParam

Must be zero.

lParam

COLORREF value that specifies the new background color. Specify the CLR_DEFAULT value to cause the progress 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.

Remarks

When visual styles are enabled, this message has no effect.

Requirements

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