Playing system sounds (aka: audio feedback)
Posted: Tue Aug 21, 2001 10:51 pm
Code updated for 5.20+
Restored from previous forum. Originally posted by PB.
I just discovered how to give audio cues to your app with the MessageBeep API, so give some of these a try:
Edited by - PB on 20 September 2001 04:20:32
Restored from previous forum. Originally posted by PB.
I just discovered how to give audio cues to your app with the MessageBeep API, so give some of these a try:
Code: Select all
MessageBeep_(#MB_ICONINFORMATION) ; Plays a "done" sound.
MessageBeep_(#MB_ICONEXCLAMATION) ; Plays an "error" sound.
MessageBeep_(#MB_ICONHAND) ; Plays a "pop" sound.
MessageBeep_(#MB_ICONMASK) ; Plays a "ding" sound.
MessageBeep_(#MB_ICONQUESTION) ; Plays a "prompt" sound.
Edited by - PB on 20 September 2001 04:20:32