troubleshooting Question

Dialog Beeps on Keypress

Avatar of adum
adum asked on
System Programming
6 Comments1 Solution722 ViewsLast Modified:
hi there.

i have an MFC dialog-based application. let's assume that the dialog only has two buttons, Okay and Cancel. when you hit a key, and one of the buttons is focused, windows beeps. i want to stop this behavior -- stop the beep.

i've tried intercepting the OnChar message and the onKeyDown message. no luck.

this would seem to be a simple issue, but i can't find a solution for it.

thanks,
adam
ASKER CERTIFIED SOLUTION
inpras

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros