[Iup-users] Dialog wide hot keys?
Antonio Scuri
scuri at tecgraf.puc-rio.br
Sat Apr 12 02:11:25 GMT+2 2008
Hi Jeremy,
This was an old bug that I did not have a fix.
But I just managed how to fix it today, and commit the changes to the CVS.
If you need I can send you a pre-compiled library so you can test it.
The annoying beep is still there. Even Notepad has it, except when a Hot
Key is implemented. Since there is no hot keys in IUP, it will beep also for
K_* callbacks.
Best,
scuri
> -----Original Message-----
> From: iup-users-bounces at lists.luaforge.net
> [mailto:iup-users-bounces at lists.luaforge.net] On Behalf Of
> Jeremy Cowgar
> Sent: sexta-feira, 11 de abril de 2008 14:08
> To: IUP discussion list.
> Subject: [Iup-users] Dialog wide hot keys?
>
> 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
>
> _______________________________________________
> iup-users mailing list
> iup-users at lists.luaforge.net
> http://lists.luaforge.net/cgi-bin/mailman/listinfo/iup-users
>
More information about the iup-users
mailing list