Re: Problem with using ALT keys and/or CTRL keys with wxEuphoria
- Posted by ghaberek (admin) Apr 30, 2019
- 1329 views
Bhupen1277 said...
ghaberek: I shall appreciate it if you can throw more light on wxEVT_CHAR_HOOK. Many thanks.
The wxEVT_CHAR_HOOK event is used to propogate wxEVT_CHAR-like events "upwards" from the current control that has focus, so that a top level window (like wxFrame) can handle the events globally.
AFAIK it's a bit of a hack and does not work on all platforms (it might actually be Windows-only). If you want to use it, make sure you include the wxWANTS_CHARS flag in your window style when calling create().
-Greg