🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: About Polygon Region forms

#7399
From: Remy Lebeau (TeamB)
Date: Thu, 03 Feb 2005 10:21
14 lines
1294 bytes
"Vladimir Stefanovic" <antivari@po.sbb.co.yu> wrote in message
news:4201f8d1@newsgroups.borland.com...

> Now, I'm interested what technique can I use to make
> the corners rounded (like in XP)?

Use two different regions that you combine together.  Use
CreateRoundRectRgn() to create the rounded region, then use
CreatePolygonRgn() to create the tail region, and then finally use
CombineRgn() to bring them together into the last region.


Gambit
Technical Details
Message-ID: <4201fa59$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4201f8d1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f2d6803ccc163de2
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4201f8d1@newsgroups.borland.com>
Subject: Re: About Polygon Region forms
Date: Thu, 3 Feb 2005 02:21:08 -0800
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <4201fa59$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1107425881 68.69.17.41 (3 Feb 2005 02:18:01 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail