procedure TForm1.FormCreate(Sender: TObject);
var
regn: HRGN;
begin
Form1.Borderstyle := bsNone;
regn := CreateRoundRectRgn(0, 0,ClientWidth,ClientHeight,40,40);
SetWindowRgn(Handle, regn, True);
end;
Here you can find some interesting and useful Delphi tips. I will be glad if you can share your knowledge with other people by posting comments and any other kind of useful information regarded to Delphi. Thank You!
2 comments:
Vladimir,
Thank you for this very useful and helpful code. I appreciate your work.
Nice blog youu have
Post a Comment