General information
Category:
Coding, syntax & commands
You can also use the MessageBeep Win32 API function:
DECLARE INTEGER MessageBeep IN Win32API ;
INTEGER nSoundType
= MessageBeep(lnSoundType)
where lnSoundType can be:
MB_ICONHAND 0x00000010
MB_ICONQUESTION 0x00000020
MB_ICONEXCLAMATION 0x00000030
MB_ICONASTERISK 0x00000040
MB_OK 0x00000000
Standard beep using the computer speaker 0xFFFFFFFF
For ex., if you want the question sound:
= MessageBeep(0x00000020)
The corresponding sounds are defined in ControlPanel/Sounds. If the sounds are not defined, than... better use the standard beep which works all the time.
Vlad
>Have reached a point in my app where I want the users attention. How do I make the bell sound?
>
>thanks - brenda
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only