Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
CDC::MoveTo
CDC                                         Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  CPoint MoveTo( int x, int y );
  CPoint MoveTo( POINT point );
 
  Parameter   Description
 
  <x>         Specifies the logical x-coordinate of the endpoint for the
              line.
 
  <y>         Specifies the logical y-coordinate of the endpoint for the
              line.
 
  <point>     Specifies the endpoint for the line. You can pass either a
              POINT structure or a CPoint object for this parameter.
 
  Remarks
 
  Moves the current position to the point specified by <x> and <y> (or by
  <point>).
 
  Return Value
 
  The x- and y-coordinates of the previous position as a CPoint object.
 
  See Also
 
  CDC::GetCurrentPosition, CDC::LineTo, ::MoveTo
 
 
                                     -♦-