Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
NotifyIcon Class

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
NotifyIcon..::.ShowBalloonTip Method

Displays the balloon tip in the taskbar.

  NameDescription
Public methodShowBalloonTip(Int32) Displays a balloon tip in the taskbar for the specified time period.
Public methodShowBalloonTip(Int32, String, String, ToolTipIcon) Displays a balloon tip with the specified title, text, and icon in the taskbar for the specified time period.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
BalloonTip not vanishing?      LyalinDotCom ... Thomas Lee   |   Edit   |   Show History

There seems to be issues with how long the Balloon tip takes to vanish even if you set a low duration (as show to be 3 seconds in the code below).

notifyIconMain.ShowBalloonTip(3000, "XYZ...", MyVar, ToolTipIcon.Info);

For more information see my blog post on this subject: http://blog.lyalin.com/2007/12/showballoontip-problem-in-notifyicon.html

BalloonTip not appearing?      kz! ... Thomas Lee   |   Edit   |   Show History
Since Microsoft have neglected to provide this essential information, I'll do it for them. Ensure HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\EnableBalloonTips is set to 1 if your balloon tips don't show up at all.
Re: BalloonTip not vanishing...      Torbjörn Nilsson ... Thomas Lee   |   Edit   |   Show History
I believe that the timoutvalue is given in seconds, It would be nice if Microsoft could verify this small piece of information. Also I have read something about a minimum time of 10 seconds, my own tests points to that this is true but I get some inconsistant behavour.
Default min and max timeout are 10-30 seconds      codemaniac   |   Edit   |   Show History

The default nimum and maximum timeout values are enforced by the operating system and are typically 10 and 30 seconds - i.e you cannot go below 10 or above 30. However, I swear that lot of time it displayed more than 10 sec even the setting was 10.

Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker