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.
void ScrollToPosition( POINT pt );
Header file: | Afxwin.h |
Platforms: | |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CScrollView Overview, CScrollView Member Functions, View Classes, CScrollView::GetDeviceScrollPosition, CScrollView::SetScaleToFitSize, CScrollView::SetScrollSizes