Click here to Skip to main content
15,894,825 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi. When the user double clicks with their mouse, I want to make the mouse click once and press "CTRL" simultaneously one second after double clicking. Is this even possible in c#? Help is much appreciated. :)

What I have tried:

Posted
Updated 12-Mar-20 10:28am
v3
Comments
Richard MacCutchan 12-Mar-20 12:18pm    
Probably. Create an event handler for the double-click event and generate the sequence you want from there. But it is far from clear what you are actually trying to achieve.
RickZeeland 12-Mar-20 16:26pm    
Are we talking about Winforms here ?

1 solution

See this CodeProject article: Global Mouse and Keyboard Library[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900