Mouse Wheel Scroll - How can I capture the time interval between start and stop of scrolling?

Posted by Rahat on Stack Overflow See other posts from Stack Overflow or by Rahat
Published on 2010-05-19T14:48:09Z Indexed on 2010/05/19 15:00 UTC
Read the original article Hit count: 240

Filed under:
|
|

Is there any way to capture the time interval between mouse wheel scroll start and stop? Actually I want to capture the interval between the scrolling start and stop when I very quickly scroll the mouse wheel.

I have already looked at MouseWheel event but it don't fulfill my requirement. In senes that it always gives a value of Delta 120 or -120 but i want to call a function depending on the speed of the mouse scroll for example when i scroll the mouse normally i want to perform function 1 and when i scrolled the mouse very quickly i want to perform the function 2. In other words is there any way to distinguish between the mouse scroll high and normal speed.

Any advice will be appreciated.

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms