Gets the background color of the progress bar.
Syntax
To send this message, call the
SendMessage
function as follows.
|
lResult = SendMessage(
| // returns LRESULT in lResult
|
| (HWND) hWndControl,
| // handle to destination control
|
| (UINT) PBM_GETBKCOLOR,
| // message ID
|
| (WPARAM) wParam,
| // = 0; not used, must be zero |
| (LPARAM) lParam
| // = 0; not used, must be zero |
|
);
| |
Parameters
- wParam
-
Must be zero.
- lParam
-
Must be zero.
Return Value
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.
Message Information
| Minimum DLL Version | comctl32.dll version 6 or later |
|---|
| Header | commctrl.h |
|---|
| Minimum operating systems |
Windows Vista |
|---|