Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

switch until release using keyboard...need urgent help

Hi,
i have a problem of configuring "switch until release" action using keyboard....
or is it there no this function at all...
it seems like all i can do is press to ON and press again to OFF
anyone can help...
need Urgent help....
thank you in advance..
0 Kudos
Message 1 of 2
(4,252 Views)

This isn't possible because of the way operating systems handle keyboard events. When you press a keyboard key, it does not register as one key down. For whatever your operating system is set for as far as repeating characters, it will register that many key down presses. The mouse works differently, when you press the mouse it keeps that event "locked" until you release the mouse. Because of this, you can not make a switch until release using the keyboard; this definition is only for mouse clicks.



Brandon Vasquez | Software Engineer | Integration Services | National Instruments
0 Kudos
Message 2 of 2
(4,237 Views)