共用方式為


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

Concepts

CScrollBar Class

CScrollBar Members

Hierarchy Chart

CWnd::GetScrollLimit