Solved

How to Run in the System Tray

Posted on 1997-04-03
1
160 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
sperling earned 50 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses
Course of the Month7 days, 21 hours left to enroll

617 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