Re: [Iup-users] Fw: Re: Silence Alt-keys

2017-12-01 Thread Antonio Scuri
The k_any calllback(s) is processed on WM_KEYDOWN and WM_SYSKEYDOWN events. I made a simple test here and they are correctly returning 0 in the WindowProc and not calling DefWindowProc when IUP_IGNORE is returned. In both IUP_DEFAULT and IUP_IGNORE, Windows is playing the bell sound. Best,

[Iup-users] Fw: Re: Silence Alt-keys

2017-12-01 Thread Pete Lomax via Iup-users
Well, if nothing at all handles a specific keystroke, that is correct. However, I **did** handle it, just can't figure out how to say that I have. Pete > > On Fri, 1/12/17, Antonio Scuri > wrote: > > Subject: Re:

[Iup-users] Fw: Re: Silence Alt-keys

2017-12-01 Thread Pete Lomax via Iup-users
Hi, There is no problem with Alt-F1, or Alt-Home/End/Left/Right etc, but for Alt-X and Alt-, both IUP_DEFAULT and IUP_IGNORE sound the bell. I should perhaps say this is probably a Windows-only problem. The code I am translating, from a win32-only gui, apparently solves the problem by