LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

scrolling mouse event with a graph

Hi,
How to associate scrolling mouse event with a graph in his calback ?
at present, I use a EVENT_LEFT_CLICK_UP event and a EVENT_RIGHT_CLICK_UP event to make it.
I want to use the scrolling event to define the scale factor (I.e. google earth).
Must i create a specific mouse hook ?
if yes, how ?
thanks for your helps.




Message Edité par bgr le 02-18-2008 05:18 AM
0 Kudos
Message 1 of 3
(3,198 Views)
Hello bgr,
 
If you're using CVI 8.1 or later, there is an event, EVENT_MOUSE_WHEEL_SCROLL, that is sent to the control callback whenever the user operates the mouse wheel.
 
Luis
0 Kudos
Message 2 of 3
(3,171 Views)
thanks
0 Kudos
Message 3 of 3
(3,155 Views)