J
Jordi Rico
Hi all,
I'm trying to do something and I don't know if it's already
implemented or I have to do a heavy workaround for this.
The fact is, I need to capture MouseWheel (something quite simple),
but I need to capture not every event, but the last event triggered.
I explain, it's an application which must make some calculations over
an image when user zooms over it (with mouse wheel). The problem is
that if an user makes a long movement with mouse wheel, it will
trigger for example 5 times, giving a delta value for each of 120,
when I only want the total value of 600 to make only one calculation,
and thus optimize everything.
Can I get the total value when user has finised moving the wheel?
Thanks for everything.
I'm trying to do something and I don't know if it's already
implemented or I have to do a heavy workaround for this.
The fact is, I need to capture MouseWheel (something quite simple),
but I need to capture not every event, but the last event triggered.
I explain, it's an application which must make some calculations over
an image when user zooms over it (with mouse wheel). The problem is
that if an user makes a long movement with mouse wheel, it will
trigger for example 5 times, giving a delta value for each of 120,
when I only want the total value of 600 to make only one calculation,
and thus optimize everything.
Can I get the total value when user has finised moving the wheel?
Thanks for everything.