Hide balloon tip icon

G

Guest

I create a balloon tip in the system tray using:

notify.ShowBalloonTip(10000, "Text", "More Text", ToolTipIcon.Info);

After the time expires I want the icon to go away. The balloon disappears,
but I can't reliably get rid of the icon. What's the right way to do that?
 
M

Mattias Sjögren

Dave,
After the time expires I want the icon to go away. The balloon disappears,
but I can't reliably get rid of the icon. What's the right way to do that?

You could enable a Timer with an interval of 10000 and hide the icon
when it ticks.


Mattias
 
T

TerryFei

Hi Dave,

In addition, please make sure you dispose the NotifyIcon.

I hope the above information is helpful for you. If you have any questions,
please feel free to let me know. Thanks and have a nice day!

Best Regards,

Terry Fei [MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security

--------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top