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
int Pager_SetPos(
HWND hwnd,
int 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
Type: int
The return value is not used.
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 |