Hi,
Can you try:
case K_mF1:
return IUP_DEFAULT;
break;
According with IUP online help:
If returns IUP_DEFAULT the key is processed but it is not propagated.
If key is processed, maybe solve your case.
Best,
Ranier Vilela
________________________________________
De: Pete Lomax via Iup-users <[email protected]>
Enviado: sexta-feira, 1 de dezembro de 2017 00:20
Para: [email protected]
Cc: Pete Lomax
Assunto: [Iup-users] Silence Alt-keys
Does anyone know how to silence Alt keys? I have tried returning IUP_IGNORE
from K_ANY, KEYPRESS_CB, GLOBALKEYPRESS_CB, and K_mC but it still sounds the
bell, unless there is a matching accelerator key on a menu, mind you I also
want to be able to process keys such as Alt + ',' (and I have tried K_mComma
too).
Pete
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users