Pager_SetBkColor macro

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 hwndPager,
  COLORREF clrBk
);

Parameters

hwndPager

Type: HWND

Handle to the pager control.

clrBk

Type: COLORREF

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.