CScrollBar::GetScrollRange

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).

Syntax

void GetScrollRange( LPINT lpMinPos, LPINT lpMaxPos ) const;

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CScrollBar Overview, CScrollBar Member Functions, Control Classes, ::GetScrollRange, CScrollBar::SetScrollRange, CScrollBar::GetScrollPos, CScrollBar::SetScrollPos