SetScrollRange3w
Usage
BOOL SetScrollRange
(
HWND hwnd,
INT nBar,
INT minVal,
INT maxVal,
BOOL bRedraw
)
Overview
The SetScrollRange function sets the minimum and maximum scroll box positions If nMinPos and nMaxPos is the same value, the scroll bar will hide.
Sets the range of the scroll bar.
Params
hwnd [In] Handle of window with scrollbar(s).
nBar [In] One of SB_HORZ, SB_VERT, or SB_CTL.
minVal [In] New minimum value.
maxVal [In] New Maximum value.
bRedraw [In] Should scrollbar be redrawn afterwards?.
Returns
Success: TRUE
Failure: FALSE
Implementation
Declared in "commctrl.h".
Implemented in "dlls/user32/scroll.c".
Debug channel "scroll".
Releases
5 releases since Debian 2.1 (Slink); the text changed 4 times.