SB_SETBKCOLOR (Compact 2013)
3/28/2014
This message sets the background color in a status bar.
To send this message, call the SendMessage function as follows.
Syntax
lResult = SendMessage( // returns LRESULT in lResult
(HWND) hWndControl, // handle to destination control
(UINT) SB_SETBKCOLOR, // message ID
(WPARAM) wParam, // = 0; not used, must be zero
(LPARAM) lParam // = (LPARAM) (COLORREF) clrBk;
);
Parameters
- wParam
Must be zero.
- clrBk
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
Header |
commctrl.h |