[Overview][Types][Procedures and functions][Variables][Index] |
Changes the Position of an ScrollBar slider.
Source position: winapih.inc line 349
function SetScrollPos( |
Handle: HWND; |
nBar: Integer; |
nPos: Integer; |
bRedraw: Boolean |
):Integer; |
Handle |
|
The ScrollBar or Window Handle. |
nBar |
|
SB_CTL means a ScrollBar control. |
nPos |
|
The new Position. |
bRedraw |
|
True forces a repaint. |
The previous Position, zero if invisible.
The SetScrollPos function sets the position of the scroll box (thumb) in the specified scroll bar and, if requested, redraws the scroll bar to reflect the new position of the scroll box.
|
lazarus-ccr.sourceforge.net |