From: John L. <jla...@gm...> - 2012-06-21 17:51:44
|
On Thu, Jun 21, 2012 at 2:36 AM, Milind Gupta <mil...@gm...> wrote: > Thank you Andre and John for your replies. I haven't tried the code Andre > gave. I am looking to catch keys other than accelerator keys. I want to have Try it... > keys assigned dynamically at run time to certain lua scripts and then catch > those keys to execute the scripts. So is this a wxWidgets issue or this is > something not working right in wxLua? It doesn't seem like there is an issue with anything, you have already been shown multiple examples that do exactly what it seems to me like you're looking to do... Maybe it's not clear to me though, but I'm sure if you try some of the examples you'll get a better idea of how it the key events work. If you do find a problem please try to explain it and post code to demonstrate it. Regards, John |