How to programatically envoke mouse button click

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I can move mouse by System.Windows.Forms.Cursor.Position = new
System.Drawing.Point(x,y), but I could not find a way to invoke mouse click.
Thanks for help.
Jim
 
Hi Jim,

Please refer to following document for more information:

#How to: Simulate Mouse and Keyboard Events in Code
http://msdn2.microsoft.com/en-us/library/ms171548(VS.80).aspx


Let me know if this helps or not.


Regards,
Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi Jim,

Please feel free to reply here if there's anything else I can help. Thanks.


Regards,
Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top