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::GetScrollPos
CScrollBar                                  Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  int GetScrollPos() const;
 
  Remarks
 
  Retrieves 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.
 
  Return Value
 
  Specifies the current position of the scroll box.
 
  See Also
 
  CScrollBar::SetScrollPos, ::GetScrollPos
 
 
                                     -♦-