Call this member function to copy the current minimum and maximum scroll-bar positions for the given scroll bar to the locations specified by lpMinPos and lpMaxPos.
The default range for a scroll-bar control is empty (both values are 0).
void GetScrollRange( LPINT lpMinPos, LPINT lpMaxPos ) const;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CScrollBar Overview, CScrollBar Member Functions, Control Classes, ::GetScrollRange, CScrollBar::SetScrollRange, CScrollBar::GetScrollPos, CScrollBar::SetScrollPos