Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic


Moves the current position to the point specified by x and y (or by point).

CPoint MoveTo( 
   int x, 
   int y  
CPoint MoveTo( 
   POINT point  

Specifies the logical x-coordinate of the new position.


Specifies the logical y-coordinate of the new position.


Specifies the new position. You can pass either a POINT structure or a CPoint object for this parameter.

The x- and y-coordinates of the previous position as a CPoint object.

See the example for CRect::CenterPoint.

Header: afxwin.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.