CScrollView::ScrollToPosition

Call this member function to scroll to a given point in the view. The view is scrolled so that this point is at the upper-left corner of the window. This member function must not be called if the view is scaled to fit.

Syntax

void ScrollToPosition( POINT pt );

At a Glance

Header file: Afxwin.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CScrollView Overview, CScrollView Member Functions, View Classes, CScrollView::GetDeviceScrollPosition, CScrollView::SetScaleToFitSize, CScrollView::SetScrollSizes