I know about AddKeyboardShortcut() but I have issues using it to get ESC key in a given StringGadget.
At first, I'm inside a module and do not know a free menu event number for creation because users of my module might already use the same number. No #PB_Any available here
![Sad :(](./images/smilies/icon_sad.gif)
Also, I do not run the event loop (just a module to be used by others) and I use Bind functions to get events. But the StringGadget does not fire such keyboard events and I don't want to hook into the covering window because this will limit the user of my module (if he does the bind events for himself).
Also, it must be cross platform and Windows only tips would not really help.
Any idea?