SetScrollRange (USER32.@)
BOOL SetScrollRange ( HWND hwnd, INT nBar, INT minVal, INT maxVal, BOOL bRedraw )
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.
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?. |
Success: TRUE
Failure: FALSE
Declared in "include/textserv.h". gitlab.winehq.org/wine/wine/blob/master/include/textserv.h
Implemented in "dlls/user32/scroll.c". gitlab.winehq.org/wine/wine/blob/master/dlls/user32/scroll.c
Debug channel "scroll".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.