I need to send event to some window.
How can I emulate key press event?
I create event by wxKeyEvent(wxEVT_CHAR), but I can't find how to add press key information?
how can I emulate key press event?
wxKeyEvent::m_keyCode
it is public.
http://docs.wxwidgets.org/2.6/wx_keycodes.html - here are all possible key codes, except ASCII characters
it is public.
http://docs.wxwidgets.org/2.6/wx_keycodes.html - here are all possible key codes, except ASCII characters
C++, Win XP-32, Win7-64, WinVista-32, MS VS 2005, 2008, 2010
okurtsev wrote:wxKeyEvent::m_keyCode
it is public.
http://docs.wxwidgets.org/2.6/wx_keycodes.html - here are all possible key codes, except ASCII characters
It's obsoleted now.