[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

Re: [XaraXtreme-dev] Keypress handling

--On 08 May 2006 10:58 +0100 Phil Martin <phil@xxxxxxxx> wrote:

Can you actually get away with having just one keypress handler?
wxWidgets should be offering the keypress event to windows in some
logical order, one of which should be the application frame window,
shouldn't it? In which case you'd need handlers in various windows...???

Even if that is true, you can use wxApp::FilterEvent to get the key
event BEFORE it is offered to any windows.