Page 1 of 1

help needed!

Posted: Thu Dec 20, 2007 4:30 pm
by kinglestat
How to capture keys in a GUI for processing?
In windows I use the following code

Code: Select all

event = WaitWindowEvent( 5 )  
    Select event                  
         Case #myKeyDown
             key = EventwParam()
            If key = #myKeyDelete And GetActiveGadget() = #result
And what are the key constants? apparfently the #VK_ dont work under linux

Posted: Thu Dec 20, 2007 4:49 pm
by Hroudtwolf

Posted: Thu Dec 20, 2007 11:48 pm
by kinglestat
thanks