CWnd::SetScrollPos

Call this member function to set the current position of a scroll box and, optionally, redraw the scroll bar to reflect the new position of the scroll box.

Syntax

int SetScrollPos( int nBar, int nPos, BOOL bRedraw = TRUE );

At a Glance

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

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::GetScrollPos, CScrollBar::SetScrollPos