Solved

System Tray

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

Accepted Solution

by:
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
http://pages.prodigy.com/X/X/A/XXCB19A/systray.zip
It has all of the needed events, supports popup menus etc' (freeware)
Install it (component|Install component) and it's tab will be added.

0
 
LVL 20

Expert Comment

by:Madshi
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.
0
 
LVL 3

Expert Comment

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

bryan

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 20

Expert Comment

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

Regards, Madshi.
0
 

Expert Comment

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

Author Comment

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

Expert Comment

by:Yoni
ID: 1344646
I now tried it on Windows 98

No problem...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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 my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

863 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

23 Experts available now in Live!

Get 1:1 Help Now