Hello,
I'm sour that you thing my question is easy,
but I just like to know how to make a beep (not default system sound) in a MFC application.
Thanks
Printable View
Hello,
I'm sour that you thing my question is easy,
but I just like to know how to make a beep (not default system sound) in a MFC application.
Thanks
You might want to try
MessageBeep(0xFFFFFFFF);
You can use MessageBeep() with any of these parameters that should have alternate sounds associated with them :
-1 Standard beep using the computer speaker
MB_ICONASTERISK SystemAsterisk
MB_ICONEXCLAMATION SystemExclamation
MB_ICONHAND SystemHand
MB_ICONQUESTION SystemQuestion
MB_OK SystemDefault
HTH
Roger Allen
Q2 - [CB]RIGamortis
ICQ - 31764540
Esy like: Beep(frequency,length), try:
http://www.codeproject.com/Articles/...Implementation
I bet the OP got this resolved sometime in the past 12 years!
@Pro_C: please don't wake up the grandpa's topics!
[ Thread closed ]