"Sam Marrocco" <sa*@twmi.rr.com> wrote in message
news:Sd*****************@fe2.columbus.rr.com...
When using the NotifyIcon control in an app to place an icon into the
Task Tray all seems well. However, when my app quits, the icon sometimes
remains in the task tray indefinitely....until you move the mouse over
it--they it vanishes! Is there a good way of making sure the icon is
gone before my app completely quits?
I've had the same problem, but setting the Visible property to False and
then Then Disposing of the object (the form does that) dosen't seem to work.
I must still move my mouse over the icon for to it to dissapear.
I'm using Windows XP and have the "Hide Inactive Icons" enabled (Checked
without it to and it didn't work then either).