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.
int SetScrollPos( int nBar, int nPos, BOOL bRedraw = TRUE );
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::GetScrollPos, CScrollBar::SetScrollPos