Pager_SetBorder

Pager_SetBorder macro

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 hwndPager,
   int  iBorder
);

Parameters

hwndPager

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

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show:
© 2016 Microsoft