Pager_SetBkColor macro (commctrl.h)
Sets the current background color for the pager control. You can use this macro or send the PGM_SETBKCOLOR message explicitly.
COLORREF Pager_SetBkColor(
HWND hwnd,
COLORREF clr
);
hwnd
Type: HWND
Handle to the pager control.
clr
Type: COLORREF
COLORREF value that contains the new background color of the pager control.
Type: COLORREF
Returns a COLORREF value that contains the previous background color.
By default, the pager control will use the system button face color as the background color. This is the same color that can be retrieved by calling GetSysColorBrush with COLOR_BTNFACE.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |