LibUIDK Documentation
ContentsIndexHome
PreviousUpNext
CScrollBarEx::SetScrollRange Method
C++
void SetScrollRange(int nMinPos, int nMaxPos, BOOL bRedraw = TRUE);

设置滚动条的最小和最大滑动位置.

Parameters 
Description 
int nMinPos 
指定最小滑动位置. 
int nMaxPos 
指定最大滑动位置. 
BOOL bRedraw = TRUE 
指定是否在设置完之后, 立即刷新.