Link to home
Start Free TrialLog in
Avatar of BlackDeath
BlackDeath

asked on

acoustic signals - adding own events

in the control panel for acoustic signals there are several entries defining which sound to play on which event. this does not only include windows-intern events but also those of installed software.

in the registry-key HKEY_CURRENT_USER\AppEvents... the schemes and labels can be found.

now my question: what do i have to do
a) to programmatically manipulate the "properties of the acoustic signals" (i.e. in the control panel for acoustic signals my own events shall be defined among the others)?
b) in my application to fire an event which causes a predefined sound to be played ?

i know this question is not *easy* but i ain't got no more points at the moment. you know how this comes, i guess...

i'm willing to ask a dummy question for the one who answers this one complete when i've got more points to give the one an adequate amount of points.

any answer solving this problem will be accepted:
url, source fragments, common explanation etc.

i need the answer relatively quick. please - help.

regards,

Black Death.
ASKER CERTIFIED SOLUTION
Avatar of erajoj
erajoj
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of BlackDeath
BlackDeath

ASKER

hi, john!

thanx for your answer. i wasn't able to read it on friday, because our domain server went to sleep. this weekend i browsed through the help files of visual c++ developer studio and guess what i've found:

PlaySound and sndPlaySound.

so i thought this must be possible with delphi, too. i scanned the win32.hlp, delphi.hlp and several other help files, but could not find it. what i did not scan was mm.hlp.

and - there it is. your answer helped me in the way that i do now know, *where* this function is declared.

furthermore, i don't have to break my mind on thinking about how to put it into code. this one's a nice unit.

thanxalot,

Black Death.
so,