PGM_GETBKCOLOR message

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

Parameters

wParam

Must be zero.

lParam

Must be zero.

Return value

Returns a COLORREF value that contains the current 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