CWnd::SetScrollRange

Call this member function to set minimum and maximum position values for the given scroll bar. It can also be used to hide or show standard scroll bars.

Syntax

void SetScrollRange( int nBar, int nMinPos, int nMaxPos, BOOL bRedraw = TRUE );

At a Glance

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

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::SetScrollPos, CWnd::GetScrollRange