Q:How to play system-Sounds?
A:
[code lang=”delphi”]Uses mmsystem ;
PlaySound(‘SystemExclamation’,0,SND_ALIAS or SND_ASYNC);
PlaySound(‘SystemAsterisk’,0,SND_ALIAS or SND_ASYNC);
You can look in the registry to find all available sound alias’
HKEY_CURRENT_USER\AppEvents\EventLabels
And here for the actual sound reference:
HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default
[/code]
[tags]Delphi, Sound[/tags]
0 Kommentare zu “How to play system-Sounds?”