PBM_GETBKCOLOR message

Gets the background color of the progress bar.

Parameters

wParam

Must be zero.

lParam

Must be zero.

Return value

Returns the background color of the progress bar.

Remarks

This is the color set by the PBM_SETBKCOLOR message. The default value is CLR_DEFAULT, which is defined in commctrl.h.

This function only affects the classic mode, not any visual style.

Requirements

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