Link to home
Start Free TrialLog in
Avatar of systan
systanFlag for Philippines

asked on

detect count/how long the mouse down pressed

detect count/how long the mouse down pressed <even outside of the main form application>
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

You could use a hook via WH_MOUSE_LL to get global mouse messages...

See Bob's (TheLearnedOne) example here:
https://www.experts-exchange.com/questions/21475143/Mouse-Events.html
Avatar of systan

ASKER

thank you, but I already have that links and downloaded it;  what i am after is to count the number of seconds a mouse is down.  i don't know where to merge the code.
ASKER CERTIFIED SOLUTION
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of systan

ASKER

thank you