|
-
October 12th, 1999, 11:29 PM
#1
Calling sytem beep in VC++ in MFC
Hi.
I have a problem. How do I call system beep or some other such alert from c++ I know that we can use the escape sequence \a to do so. But how to use it. Any suggestion?
-
October 13th, 1999, 12:19 AM
#2
Re: Calling sytem beep in VC++ in MFC
MessageBeep(UINT) is part of the standard Win32 API. Its parameter is a messagebox icon code like MB_ICONSTOP, MB_ICONINFORMATION etc.
-
October 13th, 1999, 03:50 AM
#3
Re: Calling sytem beep in VC++ in MFC
Beep is a flexible SDK function:
BOOL Beep(
DWORD dwFreq, // sound frequency, in hertz
DWORD dwDuration // sound duration, in milliseconds
);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|