CScrollView::ScrollToPosition

This method scrolls to a specified point in the view. The view is scrolled so that this point is at the upper-left corner of the window. Do not call this method if the view is scaled to fit.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

void ScrollToPosition( POINT pt );

See Also

CScrollView::GetDeviceScrollPosition, CScrollView::SetScaleToFitSize, CScrollView::SetScrollSizes