🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: SetWindowRgn function and come back

#10025
From: Mario Sernicola
Date: Mon, 31 May 2004 10:41
18 lines
1470 bytes
> I tried your code, but when i push the button parent form disappears...
> do you know why??

Sorry :D, I've inserted casually coordinates and unlucky they was
coordinates of a straight line, so the form disappears.

Try this points coordinates instead

//----------------------
   TPoint points[4];
  points[0] = Point(0,0);
  points[1] = Point(200,100);
  points[2] = Point(200,300);
  points[3] = Point(50,200);

//----------------------

Mario Sernicola
Technical Details
Message-ID: <40bb0bbf$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!news-hog.berkeley.edu!ucberkeley!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <40bae82f$1@newsgroups.borland.com> <40bafa03@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,a79b3d53b0dd1803
X-Google-Attributes: gid10cc67,public
Reply-To: "Mario Sernicola" <mariosernicola@nospam.libero.it>
From: "Mario Sernicola" <mariosernicola@nospam.libero.it>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40bae82f$1@newsgroups.borland.com> <40bafa03@newsgroups.borland.com>
Subject: Re: SetWindowRgn function and come back
Date: Mon, 31 May 2004 12:41:11 +0200
Lines: 20
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: 80.181.137.195
Message-ID: <40bb0bbf$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1086000063 80.181.137.195 (31 May 2004 03:41:03 -0700)
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!news-hog.berkeley.edu!ucberkeley!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail