|
Delphi Tips and Tutorials
System tray icons tutorial
Delphi tips and tutorials -> System tray icons tutorial -> Part 1 -> Part 2 -> Part 3
Introduction
This tutorial walks you through the following steps:
- Creating an icon in the system tray from within a Delphi application (also known as the notification area - the area beside the clock on Windows 2000 and above)
- Removing that icon on demand and on application close
- Changing the icon once it is established
- Creating a pop-up menu so that the user can interact with the application via the system tray icon
- Minimizing the application to the system tray and not to the taskbar
Copyright
This work is the property of Matthew Gordon and darnkitty.com except for those portions of the
code where due credit has been given. You may use this code freely within your applications (including
commercial applications), but you may not reproduce the code or tutorial directly on your website
or in any other format without permission.
Who is this tutorial aimed at?
This tutorial assumes you have a basic knowledge of Delphi. It assumes that you know the following:
- That you know how to create procedures, and that you know that procedures require an entry in both the interface section and the implementation section
- That you have a basic knowledge of form events - for example you know what FormCreate and FormDestroy are and how to access them
- That you are able to add controls to a form using the Delphi IDE
Ready to begin?
Click here to go to part 1.
Having problems with the tutorial?
If you have technical problems, i.e. the code won't compile - Each of the three parts has a troubleshooting section which may explain your problem. If the
solution to your problem cannot be found here, each of the three parts also has a forum thread at the bottom of its
page, where you can ask questions and discuss your problem with other users.
If you are having trouble understanding the tutorial itself - Each of the three parts has a forum thread at the
bottom of its page where you can ask other users for help. Or, if you are registered with darnkitty.com (you can register here), you
can send me a private message.
|