NotifyIcon vanishes

Topics: Updater Application Block
Sep 6, 2005 at 9:24 AM
originally posted by: shinmen

Hi,

I'm trying to create a thread that downloads updates in the background and displays a notifyicon in the corner with text that says updates are being downloaded. The thread then attempts to activate the updates and change the text of the notifyicon to say the application needs to be restarted.

I've hooked into the ActivationInitializationAborted event to change the text and called a method back on the UI thread to update the text of the notifyicon. However, when I try to hover the mouse over the icon, it just vanishes.

I don't know whether the file that contains the notifyicon has been activated yet or not. Could this be the reason that the icon disappears? And if so how could I get around this?

Thanks.