[pGUI] How to Ignore Keystroke After IupText Processes It
- Posted by euphoric (admin) May 05, 2019
- 1653 views
I have a textbox, and I don't want the parent control to respond to keystrokes entered into it. What do I return? IUP_CONTINUE and IUP_DEFAULT seem to propagate the keypress thru to the parent. IUP_IGNORE didn't work either.
Do I need to figure out who has focus first before processing it?!
Added: Doing a test in the parent's keypress callback seems to catch it.