.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH SetScrollInfo 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBSetScrollInfo\fR (USER32.@) .SH SYNOPSIS INT SetScrollInfo ( HWND \fIhwnd\fR, INT \fInBar\fR, const SCROLLINFO* \fIinfo\fR, BOOL \fIbRedraw\fR ) .SH DESCRIPTION .PP SetScrollInfo can be used to set the position, upper bound, lower bound, and page size of a scrollbar control. .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 \fIinfo\fR \fB[In]\fR Specifies what to change and new values. .PP \fIbRedraw\fR \fB[In]\fR Should scrollbar be redrawn afterwards?. .PP .SH RETURNS .PP Scrollbar position. .SH NOTE .PP For \fB100\fR lines of text to be displayed in a window of \fB25\fR lines, one would for instance use \fIinfo\fR\fI->nMin\fR=0, \fIinfo\fR\fI->nMax\fR=75 (corresponding to the \fB76\fR different positions of the window on the text), and \fIinfo\fR\fI->nPage\fR=25. .SH IMPLEMENTATION .PP Declared in \fB"commctrl.h"\fR. .PP Implemented in \fB"dlls/user32/scroll.c"\fR. .PP Debug channel \fB"scroll"\fR.