time a mouse button is held down

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

Guest

hi, i kno you can use hooks to tell when a mouse button is pressed
globally...bt how can you tell how long its been held down for? for example,
how would i see iof the mouse button was held down for 5 seconds?
 
iwdu,

Catch the mouse down, set the time (globaly)
Catch the mouse up subtract the current time from that time you have set.

I don't know another method.

Cor
 

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