CWnd::GetScrollLimit

int GetScrollLimit( int nBar );

Return Value

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

Parameters

nBar

Specifies the type of scroll bar. The parameter can take one of the following values:

Remarks

Call this member function to retrieve the maximum scrolling position of the scroll bar.

CWnd OverviewClass MembersHierarchy Chart

See Also   CScrollBar::GetScrollLimit