Solved

i want make form in Circle

Posted on 1998-12-02
4
146 Views
Last Modified: 2010-04-04
i want make form in circle or other form, not rectangle (Ex Norton Crash Guard)
0
Comment
Question by:jamiguel
  • 2
4 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 1348962
hi  jamiguel,

look at CoolForm on
Delphi Super Page
or
Torry Pages

other Experts can give the URL
(i haven't it on this PC)

meikl
0
 

Accepted Solution

by:
guntherDS earned 0 total points
ID: 1348963
Here's a tip: more than one year ago there were some articles in 'The Delphi Magazine' about this topic, maybe you can find some useful information in that article (Issue 25, September 1997).
The complete code for this topic can be found on the site: www.itecuk.com

0
 
LVL 4

Expert Comment

by:erajoj
ID: 1348964
It's very, very easy:

procedure TMainForm.FormCreate(Sender: TObject);
var
  Region : hrgn;
begin
  Region := CreateEllipticRgn(0, 0, ClientWidth, ClientHeight);
  SetWindowRgn(Handle, Region, True);
end;

That's it.

/// John
0
 
LVL 4

Expert Comment

by:erajoj
ID: 1348965
Did the answer really help you?
I searched the "www.itecuk.com"-site and didn't find any source code at all!?
Just making sure you get what you came for...

/// John

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now