Reference

GetScrollInfo(3w)

NAME

GetScrollInfo (USER32.@)

SYNOPSIS

BOOL GetScrollInfo
(
HWND hwnd,
INT nBar,
LPSCROLLINFO info
)

DESCRIPTION

GetScrollInfo can be used to retrieve the position, upper bound, lower bound, and page size of a scrollbar control.

PARAMS

hwnd [In] Handle of window with scrollbar(s).

nBar [In] One of SB_HORZ, SB_VERT, or SB_CTL.

info [IO] fMask specifies which values to retrieve.

RETURNS

TRUE if SCROLLINFO is filled ( if nBar is SB_CTL, GetScrollInfo returns TRUE even if nothing is filled)

IMPLEMENTATION

Declared in "commctrl.h".

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

Debug channel "scroll".

History