[Overview][Types][Procedures and functions][Variables][Index] |
Changes the Position of an Scroll Bar slider.
Source position: winapih.inc line 351
function SetScrollPos( |
Handle: HWND; |
nBar: Integer; |
nPos: Integer; |
bRedraw: Boolean |
):Integer; |
Handle |
|
The Scroll Bar or Window Handle. |
nBar |
|
SB_CTL means a Scroll Bar 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.
|
Version 3.2 | Generated 2024-02-25 | Home |