Pager_GetPos macro (commctrl.h)

Retrieves the current scroll position of the pager control. You can use this macro or send the PGM_GETPOS message explicitly.

Syntax

int Pager_GetPos(
   HWND hwnd
);

Parameters

hwnd

Type: HWND

Handle to the pager control.

Return value

Type: int

Returns an int value that contains the current scroll position, 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