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.

Syntax

COLORREF Pager_SetBkColor(
   HWND     hwnd,
   COLORREF clr
);

Parameters

hwnd

Type: HWND

Handle to the pager control.

clr

Type: COLORREF

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

Return value

Type: COLORREF

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