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>moveto()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
MoveTo()
Move to the specified position
------------------------------------------------------------------------------

Syntax
MoveTo( <hDC>, <nX>, <nY> )   -->   nOldPos

Arguments
<hDC> specifies the device context for a window.

<nX>, <nY> specify the position to move to.

Returns
The old position is returned as a number.  This is not much
use.

Description
This function uses GDI (graphics device interface) to change
the current position.

Example
MoveTo( hDC, 100, 100 )
LineTo( hDC, 200, 100 )       // a horizontal line


See Also: GetDC() LineTo()

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