Re: 'birdtwitter.wav'

new topic     » goto parent     » topic index » view thread      » older message » newer message

> Hi Ben and "list",
>
> I had in mind doing something like: looking up the wav file associated via
> Control Panel with SystemExclamation, and if that file exists then playing
> it; otherwise, playing the extended disgustingly MIDIfied version of some
> already-disgusting death metal/rap song. But if you think just going with
my
> initial inclination to play a bird twittering is as effective and a lot
> easier, maybe I will go with that.
>
> Thanks for your input, to all participants in this discussion.
>
> George
>
You may have gone ahead and done something else by now but this will play
the user's SystemExclamation sound:

--tested code
include dll.e
integer err
constant user32=open_dll("user32.dll"),
MB_ICONEXCLAMATION=#30
err=c_func(xMessageBeep,{MB_ICONEXCLAMATION})

If err returns FALSE then you could go ahead and play your own sound.

chris

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu