[pGUI] How to Ignore Keystroke After IupText Processes It

new topic     » topic index » view thread      » older message » newer message

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.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu