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>movewindow()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
MoveWindow()
Change the position and/or size of a window
------------------------------------------------------------------------------

Syntax
MoveWindow( <hWnd>, <nX>, <nY>, <nWidth>, <nHeight>,
            <lRepaint> )   -->   lSuccess

Arguments
<hWnd> is the handle to the window.

<nX>, <nY> specify the new position of the top left-hand
corner of the window in pixels.

<nWidth>, <nHeight> specify the new size of the window in
pixels.

<lRepaint> is logical TRUE (.T.) if you want the window to be
re-drawn, or FALSE (.F.) if not.

Returns
If successful, a logical TRUE (.T.) is returned, otherwise
FALSE (.F.) is returned.

Description
In general, an application should not use this function.
(Because it may annoy the user.)

Example
MoveWindow( hWnd, 100, 100, 300, 300, .T. )


See Also: CreateWindow() DestroyWindow() FindWindow() IsWindow() IsWindowEnabled()

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