🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Transparent form

#16874
From: Damon Chandler (TeamB)
Date: Wed, 23 Apr 2003 06:35
23 lines
1760 bytes
Hi Saso,
> I would like to make transparent form , also when
> form is resized or moved. Is there any simple way?

One way to create a transparent-type form is to define the shape of your
window via a custom GDI region object; specifically, a region that includes
only the non-transparent areas of your form (e.g., the title-bar, resizing
border, and child controls).  See these articles...

  http://www.bridgespublishing.com/articles/
  issues/0002/Image_shaped_forms.htm

  http://www.bridgespublishing.com/articles/
  issues/0111/Custom_buttons__part_III.htm

(Note that Windows 2000/XP+ supports natively translucent and transparent
forms; see
http://www.bridgespublishing.com/articles/issues/0103/Transparent_2000.htm.)

Good luck,
-- 
Damon (TeamB)
BCBCAQ--http://bcbcaq.bytamin-c.com
Technical Details
Message-ID: <3EA63429.32F252A0@cornell.edu>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <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-22 23:36:19 PST
Message-ID: <3EA63429.32F252A0@cornell.edu>
Date: Wed, 23 Apr 2003 02:35:21 -0400
From: "Damon Chandler (TeamB)" <dmc27@cornell.edu>
X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Transparent form
References: <3ea468b7@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.92.234.87
X-Trace: newsgroups.borland.com 1051079647 24.92.234.87 (22 Apr 2003 23:34:07 -0700)
Lines: 23
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail