Pager_SetPos macro

Sets the scroll position for the pager control. You can use this macro or send the PGM_SETPOS message explicitly.

Syntax


int Pager_SetPos(
   HWND hwndPager,
   int  iPos
);

Parameters

hwndPager

Type: HWND

Handle to the pager control.

iPos

Type: int

Value of type int that contains the new scroll position, in pixels.

Return value

The return value is not used.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show: