Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - moveto() changes the painting coordinates http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 MoveTo()               Changes the painting coordinates
--------------------------------------------------------------------------------

   Syntax:              MoveTo( <hDC>, <nCol>, <nRow> )  --> <nLOldPos>


   Parameters:

   <hDC>                The handle of the device context where
                        where are going to paint.

   <nCol>, <nRow>       The coordinates where to start painting.

   Returns:

   <nLOldPos>           A numeric LONG ( four bytes ) value that
                        stores the old position. The LOWORD( <nLOldValue> )
                        contains the old nCol and the HIWORD( <nLOldValue> )
                        contains the old nRow.

   Observations:        Some API GDI painting functions requires to
                        previously determinate the position where to start
                        painting. MoveTo() lets do that.

   Sample:              SAMPLES\\Lines.prg

   Source code:         SOURCE\\WINAPI\\MoveTo.c

   See also:            LineTo()


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