🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #16851

Re: Transparent form

#16851
From: Vinko
Date: Tue, 22 Apr 2003 08:09
30 lines
1673 bytes
Hi!

That only works if form is resized, if it is moved
form is not refreshed!

Thank you, Saso

"Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message
news:3ea46fb7$1@newsgroups.borland.com...
>
> "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: <3ea4f8ea@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3ea468b7@newsgroups.borland.com> <3ea46fb7$1@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-22 01:17:36 PST
From: "Vinko" <digitalsv@email.si>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ea468b7@newsgroups.borland.com> <3ea46fb7$1@newsgroups.borland.com>
Subject: Re: Transparent form
Date: Tue, 22 Apr 2003 10:09:01 +0200
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 193.77.20.21
Message-ID: <3ea4f8ea@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1050999018 193.77.20.21 (22 Apr 2003 01:10:18 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail