.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH GetScrollPos 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBGetScrollPos\fR (USER32.@) .SH SYNOPSIS INT GetScrollPos ( HWND \fIhwnd\fR, INT \fInBar\fR ) .SH DESCRIPTION .PP Gets the current position of the scroll thumb. .SH PARAMS \fIhwnd\fR \fB[In]\fR Handle of window with scrollbar(s). .PP \fInBar\fR \fB[In]\fR One of \fBSB_HORZ\fR, \fBSB_VERT\fR, or \fBSB_CTL\fR. .PP .SH RETURNS .PP \fBSuccess:\fR Current position .PP \fBFailure:\fR \fB0.\fR .SH REMARKS .PP There is ambiguity when \fB0\fR is returned. Use GetLastError to make sure there was an error (and to know which one). .SH IMPLEMENTATION .PP Declared in \fB"commctrl.h"\fR. .PP Implemented in \fB"dlls/user32/scroll.c"\fR. .PP Debug channel \fB"scroll"\fR.