From: Mattia B. <mat...@li...> - 2005-03-05 20:41:20
|
On Wed, 02 Mar 2005 01:12:36 +0100 herbert breunung <dei...@we...> wrote: Hello, > i have still problem with my noisy combobox. > yes i know wxTE_PROCESS_ENTER and wxTE_PROCESS_TAB but what i need gets > a bit deeper, > and my problems i have with ENTER and the ESC key and a wxTE_PROCESS_ESC > seemes not to exist. > How can i catch these 2 Keys while the focus is on a combobox. don't > get be wrong, currently i do catch these keys > but but everytime with an Wx::Bell. > How can i tell this combobox that it is ok to press esc and it simply > pass the event without noise so that i can > grab the event. Is this within a Wx::Dialog or in a Wx::Frame? I think Wx::Dialog eats the ESC key (it is mapped to the "Cancel" button). I have no idea about frames. Are you using an EVT_KEY_DOWN or an EVT_CHAR? Regards Mattia |