If your application quits without cleaning up the notify icon it will stay
in the task bar. If you then mouse over the item it will the just
disappear.
This is the code I have that changes the icon:
notifyIcon.Icon = new
System.Drawing.Icon(AppDomain.CurrentDomain.BaseDi rectory + "running.ICO");
This is the code to clean up the notify icon:
if(notifyIcon != null)
notifyIcon.Dispose();
Cheers
Paul
"jm" <jo*************@yahoo.com> wrote in message
news:c6**************************@posting.google.c om...
Hi,
I have a C# program that changes the notifyIcon during the program.
What I have noticed is that sometimes when the program is over the old
icon will still be in the system tray. But when i move over the icons
in the taskbar the taskbar will immediately update itself and clear
the old icon away.
I was just wondering if this is normal or if I am supposed to "force"
an update of the taskbar system tray icons somehow?
Thank you.