Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>scrollwindow()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ScrollWindow()
Scroll a window up/down left/right
------------------------------------------------------------------------------

Syntax
ScrollWindow( <hWnd>, <nChangeX>, <nChangeY>,
              [ <aScroll> ] , [ <aClip> ] )   -->   nil

Arguments
<hWnd> is the handle of the window.

<nChangeX> is an integer specifying the amount to scroll
horizontally.  Use a negative value to scroll to the left.

<nChangeY> is an integer specifying the amount to scroll
vertically.  Use a negative value to scroll up.

<aScroll> is an optional array containing four integers
{ left, top, right, bottom } specifying the rectangular part of
the client area to be scrolled.  (The default is the entire
client area.)

<aClip> is an optional array containing four integers { left,
top, right, bottom } specifying a rectangular clipping area.
This rectangle takes precedence over <aScroll>, so only bits
in <aClip> are scrolled.  (The default is to use <aScroll>
unchanged.)

Returns
NIL.

Description
The window is scrolled as specified.

Example
ScrollWindow( hWnd, 0, -10 )


See Also: CreateWindow() DestroyWindow() ShowWindow() UpdateWindow()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson