LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

i want continues touch im using EVENT_COMMIT but not succeed

Please Help me out this.

in my application i did two button UP and DOWN.

if i press UP button my object will move up direction same if i press DOWN my object will move down.

if i remove finger from UP button my moving object should stop.

 

which event i shoul use,iam using lab window cvi 5.5.

 

P.S Attached snap shot 

thank you

0 Kudos
Message 1 of 2
(3,687 Views)

Hi,

 

Touch events are mouse events, so "touch start" should be EVENT_LEFT_CLICK, "touch release" could be EVENT_COMMIT - unless the control is an indicator.

 

But this old CVI might be missing EVENT_MOUSE_POINTER_MOVE to detect if the "touch point" moves outside of the control.

You'll have to look for a Windows API alternative to poll the pointer position and compare it with the control coordinates.

 

Sorry, can't help you more.

-----------------------
/* Nothing past this point should fail if the code is working as intended */
0 Kudos
Message 2 of 2
(3,667 Views)