Reference

GetScrollRange(3w)

NAME

GetScrollRange (USER32.@)

SYNOPSIS

BOOL GetScrollRange
(
HWND hwnd,
INT nBar,
LPINT lpMin,
LPINT lpMax
)

DESCRIPTION

Gets 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.

lpMin [Out] Where to store minimum value.

lpMax [Out] Where to store maximum value.

RETURNS

TRUE if values is filled

IMPLEMENTATION

Declared in "commctrl.h".

Implemented in "dlls/user32/scroll.c".

Debug channel "scroll".

History