help needed!

Linux specific forum
kinglestat
Enthusiast
Enthusiast
Posts: 746
Joined: Fri Jul 14, 2006 8:53 pm
Location: Malta
Contact:

help needed!

Post 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
I may not help with your coding
Just ask about mental issues!

http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

Post by Hroudtwolf »

kinglestat
Enthusiast
Enthusiast
Posts: 746
Joined: Fri Jul 14, 2006 8:53 pm
Location: Malta
Contact:

Post by kinglestat »

thanks
I may not help with your coding
Just ask about mental issues!

http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
Post Reply