Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
CPointGetScrollPosition()const;
Return Value
The horizontal and vertical positions (in logical units) of the scroll boxes as a CPoint object.
Remarks
Call GetScrollPosition when you need the current horizontal and vertical positions of the scroll boxes in the scroll bars. This coordinate pair corresponds to the ___location in the document to which the upper-left corner of the view has been scrolled.
GetScrollPosition returns values in logical units. If you want device units, use GetDeviceScrollPosition instead.
CScrollView Overview | Class Members | Hierarchy Chart
See Also CScrollView::GetDeviceScrollPosition