Article View: borland.public.cppbuilder.nativeapi
Article #8875Re: How to disable Autoplay progammatically
From: Paolo Borlandi
Date: Tue, 14 Sep 2004 11:17
Date: Tue, 14 Sep 2004 11:17
43 lines
1931 bytes
1931 bytes
Thank You, I got the solution:
void __fastcall TFMain::WndProc(Messages::TMessage &Message)
{
UINT g_uQueryCancelAutoPlay = 0;
switch ( Message.Msg )
{
default:
if (!g_uQueryCancelAutoPlay)
{
g_uQueryCancelAutoPlay =
RegisterWindowMessage(TEXT("QueryCancelAutoPlay"));
}
if ( Message.Msg && Message.Msg == g_uQueryCancelAutoPlay )
{
Message.Result = 1; // Disable Autoplay
}
TForm::WndProc(Message);
break;
}
}
<Nihou Polska> ha scritto nel messaggio
news:4146d207$1@newsgroups.borland.com...
> And also how to enable programmatically and/or manually ?
>
> "Paolo Borlandi" <pborlandi@virgilio.it> wrote in message
> news:4146d143@newsgroups.borland.com...
> >
> > I need to disable the autoplay funcion when my application runs. Have
some
> > ideas and examples? Thank You very MUCH!!!
> >
> > Paolo from Italy
> >
> >
>
>
Technical Details
Message-ID:
<4146d550@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!prodigy.com!atl-c02.usenetserver.com!news.usenetserver.com!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4146d143@newsgroups.borland.com> <4146d207$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3cf0431a13b662fb X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Paolo Borlandi" <pborlandi@virgilio.it> Newsgroups: borland.public.cppbuilder.nativeapi References: <4146d143@newsgroups.borland.com> <4146d207$1@newsgroups.borland.com> Subject: Re: How to disable Autoplay progammatically Date: Tue, 14 Sep 2004 13:17:14 +0200 Lines: 45 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 212.31.242.133 Message-ID: <4146d550@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1095161168 212.31.242.133 (14 Sep 2004 04:26:08 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!prodigy.com!atl-c02.usenetserver.com!news.usenetserver.com!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail