LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get the different event when the left button of mouse click down and up~~

 
i saw the moustate example in  CVI .
 
In this example ,it uses a timer to get the mouse state.
 
i want to know is there any other way to get it??
thanks!!
0 Kudos
Message 1 of 2
(2,912 Views)

You can use the built-in function EnableExtendedMouseEvents: it entitles a control to receive extended mouse events like EVENT_MOUSE_MOVEm EVENT_LEFT_MOUSE_UP, EVENT_RIGHT_MOUSE_UP. The control callback will receive these additional events together with standard user-interface events. In case of MOUSE_MOVE event, you can define the minimum interval between consecutive events.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,908 Views)