LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to trap ALT-Space key combo. ?

Hi,
      Does anyone know how to trap Alt-space?  The user is probing a PC board and may want to keep their eyes on the work.  The space-bar makes a nice big "next" button, and the Alts on either side seem a natural choice for "back".  But, when I try to trap the Alt-key/space keyboard-event, the program nevers sees it.  Instead, a file dialog is displayed, as if Alt is trapped by the VI-menu-bar - which isn't even displayed!
 
Cheers.
 
 
When they give imbeciles handicap-parking, I won't have so far to walk!
0 Kudos
Message 1 of 4
(3,046 Views)
I believe Alt-Space is a keyboard shortcut in Windows XP to bring up the window menu for any app...so it's not just a LabVIEW thing. Further, it appears that Windows grabs that key combination before a LabVIEW event structure can get it.  I don't know any way around this behavior, since Windows appears to be taking matters into its own hands with certain key combinations.  My advice would be to use a different key combination for your app.
 
-D
Message 2 of 4
(3,045 Views)
Thanks for the feedback, Darren.
At least I'm not missing something simple!
 
Cheers.
When they give imbeciles handicap-parking, I won't have so far to walk!
0 Kudos
Message 3 of 4
(3,041 Views)
This was reported to R&D (# 44SCCJBW) for further investigation.  Thanks for the feedback!
0 Kudos
Message 4 of 4
(2,945 Views)