GetScrollInfo.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

Defined in "commctrl.h".

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

Debug channel "scroll".