🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How can I drop a border on a Window (Form) that was shaped via: CreateRoundRectRgn ( )

#13921
From: Remy Lebeau (TeamB)
Date: Mon, 08 Sep 2003 23:55
21 lines
1623 bytes
"Oren (Halvani.de)" <neroniker@gmx.de> wrote in message
news:3f5cfb60$1@newsgroups.borland.com...

> can someone give me a hint how I can drop a border
> around a window that was shaped by a: CreateRoundRectRgn( ) ??

Look at FrameRgn().

> I mean something like Form1->BorderStyle = bsSingle;

Such borders only work for rectangular windows, not shaped windows.


Gambit


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/03
Technical Details
Message-ID: <3f5d16be$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f5cfb60$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,23d0ad560d6e34ac
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-09-08 16:58:00 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f5cfb60$1@newsgroups.borland.com>
Subject: Re: How can I drop a border on a Window (Form) that was shaped via: CreateRoundRectRgn ( )
Date: Mon, 8 Sep 2003 16:55:12 -0700
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3f5d16be$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1063065278 207.175.226.26 (8 Sep 2003 16:54:38 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail