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.


Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

758 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

19 Experts available now in Live!

Get 1:1 Help Now