Share via


CPagerCtrl::SetScrollPos

Sets the scroll position of the current pager control.

void SetScrollPos(
     int iPos
);

Parameters

Parameter

Description

[in] iPos

The new scroll position, measured in pixels.

Requirements

Header: afxcmn.h

Remarks

This method sends the PGM_SETPOS message, which is described in the Windows SDK.

See Also

Reference

CPagerCtrl Class

Hierarchy Chart

PGM_SETPOS

CPagerCtrl::GetScrollPos

Other Resources

CPagerCtrl Members