Solved

How to Run in the System Tray

Posted on 1997-04-03
1
131 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 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

706 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