By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,470 Members | 966 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,470 IT Pros & Developers. It's quick & easy.

Baloontip not shown

P: 3
Hello everybody,

This is a repetition of this thread, that happened to be locked accidentally without any tip nor solution :

https://bytes.com/topic/c-sharp/answers/528368-notify-icon-not-working


About ten days ago, I wrote this :
Expand|Select|Wrap|Line Numbers
  1. notifyIcon1.BalloonTipText = String.Format("{0} nouveau{1} mail{2} {3}", Program.nbMails, (Program.nbMails > 1 ? "x" : ""), (Program.nbMails > 1 ? "s" : ""), (didOpen ? " - Ouverture de Thunderbird en cours" : ""));
  2.  
  3. notifyIcon1.BalloonTipTitle = "WNbMails - 05 - " + DateTime.Now.ToString("HH:mm:ss");
  4.  
  5. notifyIcon1.ShowBalloonTip(10000);
  6.  
that I could simplify like this :
Expand|Select|Wrap|Line Numbers
  1. notifyIcon1.BalloonTipText = "Hello everything OK for everybody ?";
  2. notifyIcon1.BalloonTipTitle = "Cheerio ! Asking for news";
  3. notifyIcon1.ShowBalloonTip(10000);
  4.  
It worked pretty good, but starting yesterday the same code still executes, but shows nothing any more.

Does anybody have any idea what I can have modified to my project that can have given this result ?
Or is a recent update to be blamed ?

I am using Windows 10, 64 bits, version 1776.1098
1 Week Ago #1
Share this Question
Share on Google+
3 Replies


P: 3
Hello, I already have some news about this.
I develop on Windows 10, and deploy to Vista.
On Vista the baloontips are still displayed, not on Windows 10.
So, this validates the code, but confirms a problem with Windows 10.
Microsoft developed a system protection system, with restoration points, but unfortunately decided I do not deserve it, except if before installing my software I activate it.
Does anybody have any idea about what DLL(s) I have to restore, and where to find the source for this, to get the balloontips back ?
1 Week Ago #2

100+
P: 110
Is this information useful for you?
https://support.microsoft.com/en-us/...indows-vista-o
1 Week Ago #3

P: 3
Hello,
Thank you, but the icons in the taskbar are shown normally, and so are the tooltips, for the taskbar and the notification area (except there is no possibility to choose the size of the characters, which is a problem for important information, but that is since the beginning).

Oh I did not realize, but comparing to the illustration, my tooltips (next to application icons) do not have any icons in them. They are still linked to an element, and for some it is an icon (the clock also has one), but there is no more icon inside, as is normally the case. There are four possible values for BalloonTipIcons : None, Info, Warning, Error.

This is how Microsoft describes the balloons :
https://docs.microsoft.com/en-us/win...ctrl-balloons.
In the example illustrated the icon for the message is icon (sorry for that cryptic sentence, I think I shall have to come back later to precise what icon means, I have not enough time now).

A balloon is linked to a control, and the ones I created were linked to an notifyIcon ; a notifyIcon is showned only if it has an icon and text (on a healthy machine).
If I refer to the properties of a textbox, what is illustrated on the page I indicated is a tooltip, with the IsBalloon property put to true.

I can display the tooltip by double-clicking on the form, and then on the textbox, in a short delay. A deeper study of this would be needed.

When you insert a notifyIcon on a form, during the conception phase you see it under the form as is the case for an OpenFileDialog if you put it from the toolbox.
Where I saw Balloon was in the properties of a notifyIcon, more precisely in the names of three properties : BalloonTipIcon, BalloonTipText, BalloonTipTitle.

The notifyIcon is shown at execution, only if you have provided an icon for it during conception, and put the Visible property to true. To provide an icon you can use the Icon property. The icon covers all the surface of the notifyIcon. It is a picture recorded with the *.ico format. Do not mix this up with the BalloonTipIcon, that will appear inside the balloon, whereas Icon covers the surface of the notifyIcon.

To provide the icon of the notifyIcon you also have a second way : the representtation of the notifyIcon (with an icon and a text), down the form during conception has a little triangle in the upper right corner (I forgot the name of it), which displays a menu locally, "notifyIcon tasks", with only an entry : choose an icon.

So, I shall have to read this again, but to sum up, I can precise the scope of this thread like this :
- balloons and tooltips cover the same functionalities, but with little visual differences
- on my machine, since Sunday, tooltips are efficient, but balloons not
- thank you for your question, as while writing my answer I realize that using a Tooltip control instead of a balloon can be an option (to be confirmed).
1 Week Ago #4

Post your reply

Sign in to post your reply or Sign up for a free account.