PGM_SETBKCOLOR message

Sets the current background color for the pager control. You can send this message explicitly or use the Pager_SetBkColor macro.

Parameters

wParam

Must be zero.

lParam

COLORREF value that contains the new background color of the pager control.

Return value

Returns a COLORREF value that contains the previous background color.

Remarks

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.

Requirements

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