GetScrollPos (USER32.@)
int GetScrollPos ( HWND hwnd, int bar )
Gets the current position of the scroll thumb.
hwnd | [In] | Handle of window with scrollbar(s). |
nBar | [In] | One of SB_HORZ, SB_VERT, or SB_CTL. |
Success: Current position
Failure: 0.
There is ambiguity when 0 is returned. Use GetLastError to make sure there was an error (and to know which one).
Declared in "include/winuser.h". gitlab.winehq.org/wine/wine/blob/master/include/winuser.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 Dec 2024.