Mouse Positioning

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

Guest

Hi

I need help regarding the following:

I need to position the mouse cursor to (100,100) when the user presses Alt + M in my WinForms Application. How do I do that?

Thanks!

Rohan Ranade
 
Hi,

Try this...

Cursor.Position = new Point(100,100);

Hope this helps...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top