I have a trayicon that displays when an event happens within my application, and I also have a balloon tip that comes up from it when the icon is first made visible. I also have a timer that is enabled at that point, and if the user doesn't address the issue within 10 minutes, I redisplay the balloon tip.
When I exit the application, if the trayicon is visible, I make trayicon.visible := false. It's difficult to reproduce the error, but I think only if the balloon tip is showing, when I attempt to exit the program I get the error.. Cannot Remove System Shell Notification Icon
I also have a memory leak reported, and an EOutofResources error (which I think is associated with the timer)
I can't seem to find anyway of manually making the balloon tip disappear from the trayicon before closing to see if that will solve my problem. Any ideas on how to do this, or has anyone else had problems with the TrayIcon component?
When I exit the application, if the trayicon is visible, I make trayicon.visible := false. It's difficult to reproduce the error, but I think only if the balloon tip is showing, when I attempt to exit the program I get the error.. Cannot Remove System Shell Notification Icon
I also have a memory leak reported, and an EOutofResources error (which I think is associated with the timer)
I can't seem to find anyway of manually making the balloon tip disappear from the trayicon before closing to see if that will solve my problem. Any ideas on how to do this, or has anyone else had problems with the TrayIcon component?