tags:

views:

262

answers:

1

I've added a Notify Icon to my app, and quite often I see up to 3 copies of the notify icon in my systray. is there a reason for this?

is there a way to stop it from happening.

Often this persists after my app has closed, untill I mose over to the systray and the systray expands and collapses snd then they all disapear.

+10  A: 

Is this while you are debugging your application? if so this is because the messages that remove the icon from the system tray are only sent when the application exits normally, if it terminates because of an exception or because you terminate it from Visual Studio the icon will remain until you mouse over it.

Richard Slater
I hate working on apps that have icons in the systray and stopping them with Visual Studio. Ends up with dozens of them if I don't mouse over them.
Samuel
although moving your arm a bit once in a while might be healthy :p
Svish
Yeah, but on a 24 inch monitor, that's quite a trip for the mouse. ;)
Samuel