|
-
July 12th, 1999, 12:13 AM
#1
MessageBeep sound type?
Hi,
How can i find IDs of System sounds to pass ID to MessageBeep(ID) function.The documentation says these are defind in [sounds] section of registry,I can't find. I want to pass ID of "ringin.wav" or any other sound other than default sound.
Thanx.
sajid.
-
July 12th, 1999, 03:34 AM
#2
Re: MessageBeep sound type?
Following the documentation:
BOOL MessageBeep( UINT uType // sound type);
Parameters
uType
Specifies the sound type, as identified by an entry in the [sounds] section of the registry. This parameter can be one of the following values:
Value Sound
0xFFFFFFFF Standard beep using the computer speaker
MB_ICONASTERISK SystemAsterisk
MB_ICONEXCLAMATION SystemExclamation
MB_ICONHAND SystemHand
MB_ICONQUESTION SystemQuestion
MB_OK SystemDefault
So, you don't precise the wav file you want to play, but the type of sound. the association type / file is a system "property".
HTH.
K.
Ash to ash and clay to clay, if the enemy doesn't get you, your own folk may.
We're talking ****, 'cause life is a 'biz
You know it is
Everybody tryin' to get rich
God ****!
All I wanna do is live !
KoRn, Children of the Korn
-
July 12th, 1999, 08:15 AM
#3
Re: MessageBeep sound type?
and all the other system sounds?
Sally
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
|