This method sets the current position of a scroll box to that specified by nPos, and redraw the scroll bar to reflect the new position.
Set bRedraw to FALSE whenever the scroll bar will be redrawn by a subsequent call to another method to avoid having the scroll bar redrawn twice within a short interval.
| 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 nPos, BOOL bRedraw = TRUE );
CScrollBar::GetScrollPos, CScrollBar::GetScrollRange, CScrollBar::SetScrollRange