Hi! Have you tried skipping the event after processing it? I mean catch the event for EVT_CHAR_HOOK, process it and if it's not WXK_ESCAPE call event.Skip(). I just tried that and I guess it should work.
upCASE ----------------------------------- If it was hard to write, it should be hard to read!- Do. Or do not. There is no try! |