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.


Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best Firemonkey component pack 1 119
Virtuailstring tree compare node issue 14 125
creating threads in delphi 1 131
DBGrid or StringGrid ? 6 104
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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 …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

839 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