System Tray

Posted on 1998-10-27
Last Modified: 2010-04-06
How do I get a program to run in the system tray?
Question by:vperez

Accepted Solution

Yoni earned 50 total points
ID: 1344640
You can download a very good and small component to add a Icon to the system tray at
It has all of the needed events, supports popup menus etc' (freeware)
Install it (component|Install component) and it's tab will be added.

LVL 20

Expert Comment

ID: 1344641
Just write a "normal" application without a form. Use "ShowMainForm:=false" or just delete the form unit and add a unit without a form.
Then use the component from Yoni.
Then add a message loop in your program like
"while not Application.Terminated do Application.HandleMessage;"

Regards, Madshi.

Expert Comment

ID: 1344642
I tried the component, Yoni, and it doesn't work for me.
Maybe because I'm using Win 98.


PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

LVL 20

Expert Comment

ID: 1344643
I'm using the win API directly. That works with win98 well, too.

Regards, Madshi.

Expert Comment

ID: 1344644
I havent tried it on win98 but i'm not surprised that it doesn't work there

Author Comment

ID: 1344645
well i'm usin win98 and it works just fine...

Expert Comment

ID: 1344646
I now tried it on Windows 98

No problem...

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

773 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