Hi fellow programmers!
I have a few functions in place to send my app to the systray and make use of display balloons.
My problem (if you can call it that) is that when I close the app THE ICON REMAINS IN THE SYSTRAY. When I move my mouse over the icon it disappears. This behaviour doesn't exist on any other app in the systray, so I wanted to know how I automatically remove this icon.
I have added a call to the 'DeleteIconFromTray' function on every event related to closing the main from. I'll post my current code in the next comment.
Note - in this particular app I always have an icon in the tray as I have the property 'ShowInTaskbar' = False and there it no title bar or border on the forms used.