Hot keys
Status: Beta
Brought to you by:
rexx
I would like to implement "hot keys" (for example,
Alt+Q would quit the screen). I set the button text as
&Quit which displays the underline, and assigned a
callback to it that checks for keys. But the State
comes in as 0. When I press the Alt key, it doesnt
recognize that a key has been pressed. Pressing Q (if
the focus is on the main window) returns the
appropriate Hex value but I need to trap the Alt
(state) also. Any suggestions?