Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to Run in the System Tray

Posted on 1997-04-03
1
Medium Priority
?
168 Views
Last Modified: 2010-04-06
    How do I have my program icon show up in the system tray beside the clock and the little speaker?  I would like to run a service-type background process that does not appear on the taskbar in the same way interbase does.  When that icon is in the system tray, how do I know when it is clicked/ right clicked on?  Is it the same as if the icon were in the taskbar?  Thanks in advance for any and all help.
Roo
0
Comment
Question by:Roo
1 Comment
 
LVL 3

Accepted Solution

by:
sperling earned 100 total points
ID: 1335123
http://www.infonex.com/~dacroyle/csd/

Click on systray. This is the source for a simple TSysTrayIcon icon I posted to usenet a while ago. It could be used as is, or it could serve as a simple explanation on how to use the SysTray-related functions.

To hide your app from the task-list and the taskbar, put the following line in your project source, right after Application.Initialize

ShowWindow(Application.Handle, SW_HIDE);


Regards,

Erik.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
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…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

783 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