共用方式為


CWindow::GetScrollRange

Retrieves the scroll bar range.

BOOL GetScrollRange(
   int nBar,
   LPINT lpMinPos,
   LPINT lpMaxPos 
) const throw();

Remarks

See GetScrollRange in the Windows SDK.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::SetScrollRange

Other Resources

CWindow Members