Pager_SetBorder macro (commctrl.h)

Sets the current border size for the pager control. You can use this macro or send the PGM_SETBORDER message explicitly.

Syntax

INT Pager_SetBorder(
   HWND hwnd,
   int  iBorder
);

Parameters

hwnd

Type: HWND

Handle to the pager control.

iBorder

Type: int

New size of the border, in pixels. This value should not be larger than the pager button or less than zero. If iBorder is too large, the border will be drawn the same size as the button. If iBorder is negative, the border size will be set to zero.

Return value

Type: INT

Returns an INT value that contains the previous border size, in pixels.

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