Article View: borland.public.cppbuilder.nativeapi
Article #16837Re: Transparent form
From: Remy Lebeau (TeamB)
Date: Mon, 21 Apr 2003 22:25
Date: Mon, 21 Apr 2003 22:25
18 lines
1401 bytes
1401 bytes
"Vinko" <digitalsv@email.si> wrote in message
news:3ea468b7@newsgroups.borland.com...
> I would like to make transparent form , also when
> form is resized or moved. Is there any simple way?
Override the form's inherited CreateParams() method and include the
WS_EX_TRANSPARENT style to the ExStyle value, ie.
void __fastcall TForm1::CreateParams(TCreateParams &Params)
{
TForm::CreateParams(Params);
Params.ExStyle |= WS_EX_TRANSPARENT;
}
Gambit
Technical Details
Message-ID:
<3ea46fb7$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3ea468b7@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,b9b2b3e0e7dfe669 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-21 15:30:03 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3ea468b7@newsgroups.borland.com> Subject: Re: Transparent form Date: Mon, 21 Apr 2003 15:25:53 -0700 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3ea46fb7$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1050963895 207.175.226.26 (21 Apr 2003 15:24:55 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail