CScrollBar::GetScrollLimit

Retrieves the maximum scrolling position of the scroll bar.

int GetScrollLimit( );

Return Value

Specifies the maximum position of a scroll bar if successful; otherwise 0.

Example

See the example for CWnd::OnHScroll.

Requirements

Header: afxwin.h

See Also

Reference

CScrollBar Class

Hierarchy Chart

CWnd::GetScrollLimit

Other Resources

CScrollBar Members