WinXScroll_Update


WinXScroll_Update (hWnd, deltaX, deltaY)

Updates the window after scrolling

Parameter Description
hWnd The handle to the window to update
deltaX The distance scrolled horizontally
deltaY The distance scrolled vertically

Returns

$$TRUE on success or $$FALSE on fail

Remarks

If you call WinXUpdate after redrawing the window due to scrolling, you will see nasty flickering and tearing. If you have redrawn the window due to scrolling, you should call WinXScroll_Update instead.

Examples

'update the window after scrolling
WinXScroll_Update (#hMain, oldX-newX, oldY-newY)

Related Links

Scrolling
Auto Draw
onScroll