WinXScroll_SetPos


WinXScroll_SetPos (hWnd, direction, pos)

Sets the position of a scrollbar in scrolling units

Parameter Description
hWnd The handle to the window to set the scrollbar for
direction The direction of the scrollbar to set
pos The position to set the scrollbar to

Returns

$$TRUE on success or $$FALSE on fail

Remarks

The scrolling position is in the currently defined scrolling units for the window

Examples

' Set a scrollbar to a particular position
WinXScroll_SetPos (#hMain, $$DIR_VERT, 10)

Related Links

Scrolling
WinXScroll_Scroll
WinXScroll_SetPage
WinXScroll_GetPos