471,316 Members | 2,017 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,316 software developers and data experts.

Hide balloon tip icon

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?
Jan 18 '06 #1
2 3934
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

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Jan 18 '06 #2
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

--------------------
From: Mattias Sjögren <ma********************@mvps.org>
Subject: Re: Hide balloon tip icon
Date: Wed, 18 Jan 2006 18:48:23 +0100
References: <AC**********************************@microsoft.co m>
X-Newsreader: Forte Agent 3.0/32.763
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Message-ID: <e9*************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: 85.8.3.112
Lines: 1
Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.dotnet.languages.csharp:379482
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

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

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.


Jan 20 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Reuben | last post: by
reply views Thread by sanjana | last post: by
2 posts views Thread by David Batt | last post: by
2 posts views Thread by Andrea V.F. | last post: by
4 posts views Thread by Blaine | last post: by
reply views Thread by Eric | last post: by
1 post views Thread by MrNobody | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.