Programmatic mouse movement
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Does anyone know how to programmatically position the mouse on a control in c#? Darryl Borden Principal IT Analyst darryl.borden@elpaso.com
-
Does anyone know how to programmatically position the mouse on a control in c#? Darryl Borden Principal IT Analyst darryl.borden@elpaso.com
Cursor.Position = somePoint; If you want to limit that point to be on the control, use the control's .PointToClient method. For example, Point somePoint = new Point(0,0); Cursor.Position = myControl.PointToClient(somePoint); The graveyards are filled with indispensible men.