Article View: borland.public.cppbuilder.multimedia
Article #224Re: Easiest way to beep the speakers
From: 4N
Date: Fri, 17 Nov 2006 17:29
Date: Fri, 17 Nov 2006 17:29
27 lines
1690 bytes
1690 bytes
Beep works also without parameters
"Mark Jacobs" <http://www.jacobsm.com/mjmsg?Borland%20Newsgroup> ha scritto
nel messaggio news:455d9fec$1@newsgroups.borland.com...
> ���� wrote:
>> I want to send a beep to both Internal Case Speaker and also Sound
>> Cart But the easiest way, API only , no component , no OCX, etc...
>> is there any idea?
>
> Try Beep(3000,500); for sound on the PC speaker (works for me under XP).
>
> Also,
>
> PlaySound("SystemQuestion",HInstance,SND_ALIAS|SND_ASYNC);
>
> plays the System Question sound (whatever that is configured as) on the
> proper speakers (attached to the sound card)
>
> HTH,
> --
>
> To be aware is to care.
> -
> Mark Jacobs
> DK Computing
> http://www.dkcomputing.co.uk
>
Technical Details
Message-ID:
<455df52f@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45598de3@newsgroups.borland.com> <455d9fec$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,48645038bf79d9cf X-Google-Attributes: gid10d0fc,public X-Google-Language: ENGLISH,ASCII From: "4N" <xxxx@yyyy.zzz> Newsgroups: borland.public.cppbuilder.multimedia References: <45598de3@newsgroups.borland.com> <455d9fec$1@newsgroups.borland.com> Subject: Re: Easiest way to beep the speakers Date: Fri, 17 Nov 2006 18:29:05 +0100 Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 87.19.168.79 Message-ID: <455df52f@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1163785519 87.19.168.79 (17 Nov 2006 09:45:19 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail