How programm the double click?
- Juan Carlos
- Posts: 933
- Joined: Mon Sep 06, 2010 1:02 pm
How programm the double click?
How to do the double click of mouse with Hollywood I want add to the VAMP proyect for the full screen mode as other players but I have this doubt how is double click with Hollywood.
- airsoftsoftwair
- Posts: 5848
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: How programm the double click?
Just listen to mouse click events and measure the time between the two clicks. You then define a threshold for distinguishing between single and double clicks, like 100ms for example.
- Juan Carlos
- Posts: 933
- Joined: Mon Sep 06, 2010 1:02 pm
Re: How programm the double click?
Thanks for the idea also I'll have test it.Andreas wrote:Just listen to mouse click events and measure the time between the two clicks. You then define a threshold for distinguishing between single and double clicks, like 100ms for example.