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,
Scuri


2017-12-01 15:23 GMT-02:00 Pete Lomax via Iup-users <
[email protected]>:

> 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 <[email protected]>
> > wrote:
> >
> >  Subject: Re: [Iup-users] Silence
> > Alt-keys
> >  To: "Pete Lomax" <[email protected]>,
> > "IUP discussion list." <[email protected]>
> >  Date: Friday, 1 December, 2017, 16:29
> >
> >
> >  That's the default behavior in any
> > application. The
> >  system rings a bell exactly to notify
> > the user that it is a
> >  hot key that does nothing.
> >    You can try that in Word, Excel,
> >  Notepad, etc...
> >  Best,Scuri
> >
> >  2017-11-30 22:20 GMT-02:00
> >  Pete Lomax via Iup-users <[email protected]>:
> >  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].
> >  net
> >
> >  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
>
------------------------------------------------------------------------------
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

Reply via email to