Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Library: Windows API / MS.NET Framework API (https://www.delphipraxis.net/20-library-windows-api-ms-net-framework-api/)
-   -   Delphi Wie mache ich ein elliptisches Formular? (https://www.delphipraxis.net/51-wie-mache-ich-ein-elliptisches-formular.html)

Daniel B 8. Jun 2002 14:43


Wie mache ich ein elliptisches Formular?
 
Code:
procedure TForm1.FormCreate(Sender: TObject);
var
  CLFRgn: HRgn;
begin
  CLFRgn := CreateEllipticRgn(0, 0, Form1.Width, Form1.Height);
  SetWindowRgn(Form1.Handle, CLFRgn, True);
end;


Alle Zeitangaben in WEZ +1. Es ist jetzt 13:34 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz