Call this member function to retrieve the current position of a scroll box. The current position is a relative value that depends on the current scrolling range. For example, if the scrolling range is 100 to 200 and the scroll box is in the middle of the bar, the current position is 150.
int GetScrollPos( ) const;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CScrollBar Overview, CScrollBar Member Functions, Control Classes, CScrollBar::SetScrollPos, CScrollBar::GetScrollRange, CScrollBar::SetScrollRange