Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CScrollBar::GetScrollRange
CScrollBar                                  Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  void GetScrollRange( LPINT lpMinPos, LPINT lpMaxPos ) const;
 
  Parameter   Description
 
  <lpMinPos>  Points to the integer variable that is to receive the
              minimum position.
 
  <lpMaxPos>  Points to the integer variable that is to receive the
              maximum position.
 
  Remarks
 
  Copies 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).
 
  See Also
 
  ::GetScrollRange, CScrollBar::SetScrollRange
 
 
                                     -♦-