Pager_GetBkColor macro (commctrl.h)

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

Syntax

COLORREF Pager_GetBkColor(
   HWND hwnd
);

Parameters

hwnd

Type: HWND

Handle to the pager control.

Return value

Type: COLORREF

Returns 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]
Target Platform Windows
Header commctrl.h