This method sets the current position of a scroll box and, optionally, redraw the scroll bar to reflect the new position of the scroll box.
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 |
int SetScrollPos( int nBar, int nPos, BOOL bRedraw = TRUE );
CWnd::GetScrollPos, CScrollBar::SetScrollPos