Jump to content
  • Advertisement
Sign in to follow this  
pappee

[.net] C# advanced mouse clicks programatically

This topic is 2951 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! I was wondering if there's any way to simulate a mouse click in a specified window (i guess with its handle) on a specified location, WITHOUT moving the cursor? I tried SendInput, mouse_event, and SendMessage with no success. Please if You have any idea about the stuff above, tell me. Thanks!

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by ernow
Why are you trying to do this?
Have a look here


I wanna do this because when i lock my PC with ctr+alt+del, i cant position the mouse with a new drawing point cuz the handle will be at the one and only window wich is the "This PC is locked, You need a pass etc etc". And thanks :) it was helpful ^^

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!