hi i'm looking for a way that can allow me to move my mouse into a posotion , that i have defined earlier .
thank you
Printable View
hi i'm looking for a way that can allow me to move my mouse into a posotion , that i have defined earlier .
thank you
Note that somePoint is in screen coordinates. If your Point is relative to some form or control you can call that control's PointToScreen method to convert it to screen coordinates.vb.net Code:
Windows.Forms.Cursor.Position = somePoint
thank you very much
by the way , is it possible to control the left button of the mouse ;
what i want to do is to move the mouse into a position and press the area that i want (the area can be a button or whatever )
You would have to call the mouse_event function from the Windows API. If you search the forum I'm sure you'll find examples.