[Iup-users] Dialog wide hot keys?
Jeremy Cowgar
jeremy at cowgar.com
Fri Apr 11 15:08:21 GMT+2 2008
I am trying to implement a few dialog wide hot keys starting with
Control+S to save the current item. I am having a problem in that I do:
Ihandle *dlg = IupDialog();
IupSetCallback(dlg, "K_cS", (Icallback*)onSave);
Now, my onSave is called and I return IUP_IGNORE from it, however, if
the cursor is in, say a IupText, a control character is inserted into
the IupText control as well.
What should I do to make this work right?
Jeremy Cowgar
More information about the iup-users
mailing list