why are Key events c++ WxWidgets not being caught? -



why are Key events c++ WxWidgets not being caught? -

good day guys

i using wxwidgets 2.8. have created grid interface using text boxes. alter values in text boxes navigating them using arrow keys.

i have set panel in text boxes placed, added onkeydown event should display message when key pressed. not work.

i have tried oncharevent, , adding the events wxframe.

why can not grab key events?

only focused window gets key events , frame never have focus if has children taking it, such text controls.

also consider using wxwidgets 3.0 new code, in particular provides bind() can convenient handling key events controls in single place if want do.

c++ wxwidgets

Comments

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -