Pager_SetPos macro (commctrl.h)

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

Syntax

void Pager_SetPos(
   hwnd,
   iPos
);

Parameters

hwnd

Type: HWND

Handle to the pager control.

iPos

Type: int

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

Return value

None

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