01-03-2017 05:40 AM
I want to detect an event of KeyPress. To do so I tried using the event EVENT_KEYPRESS on the PanelCallback function.
Problem is when my UI is not the selected window, the event is not fired. What would be a solution for that?
01-04-2017 03:33 PM
HI Arra,
This problem is not unique to CVI. You will notice that if any window is not the highlighted window, then it will not register a key press. You cannot type a word in word or a browser window without having that window highlighted. There is not an explicit solution to this in CVI, other than guaranteeing that the window that you want to register events is the one that is selected.