共用方式為


CWindow::SetScrollRange

Changes the scroll bar range.

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

Remarks

See SetScrollRange in the Windows SDK.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::GetScrollRange

Other Resources

CWindow Members