Link to home
Start Free TrialLog in
Avatar of chris rrr
chris rrrFlag for United States of America

asked on

Block beep on keydown MFC dialog

I need to get some keyboard events so I am having to use PreTranslateMessage() with  WM_KEYDOWN.
Unfortunately I get a beep(sound) when I press any non system key on my keyboard. How can I eliminate the sound so the users will not be so annoyed. I have tried to return FALSE. doesn't seem to do the job. And I don't want to adjust their volume.

Thanks guys

MS VC++ 6.0
MFC dialog
Avatar of chris rrr
chris rrr
Flag of United States of America image

ASKER

Nevermind I got it.
Just had to return TRUE
I will try to PAQ this so It is availiable for others.
ASKER CERTIFIED SOLUTION
Avatar of RomMod
RomMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial