NAME

GetScrollPos  (USER32.@)

SYNOPSIS

 INT GetScrollPos
 (
  HWND hwnd,
  INT  nBar
 )

DESCRIPTION

Gets the current position of the scroll thumb.

PARAMS

hwnd [In] Handle of window with scrollbar(s).
nBar [In] One of SB_HORZ, SB_VERT, or SB_CTL.

RETURNS

Success: Current position

Failure: 0.

REMARKS

There is ambiguity when 0 is returned. Use GetLastError to make sure there was an error (and to know which one).

IMPLEMENTATION

Defined in "commctrl.h".

Implemented in "dlls/user/scroll.c". source.winehq.org/source/dlls/user/scroll.c

Debug channel "scroll".


Copyright © 2006 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Oct 2006.