473,395 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Baloontip not shown

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
Mar 16 '20 #1
3 2172
Gloops
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 ?
Mar 16 '20 #2
SioSio
272 256MB
Is this information useful for you?
https://support.microsoft.com/en-us/...indows-vista-o
Mar 17 '20 #3
Gloops
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).
Mar 17 '20 #4

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

Similar topics

0
by: Hugo Fjelsted Alrøe | last post by:
I am fairly new at MySQL, so please excuse any ignorance. We are using MySQL (version 3.23.48) in connection with an Eprints = archive. We have non-english deposits in the archive, and...
1
by: A-PK | last post by:
Hi I wanna shown all my Data from SQL server to Visual Basic.net. could someone guide me on that ? is there any object enable to do that. SQL Server 2000 Database - contacts 2 tables - supplies...
1
by: celeluck | last post by:
Is there any way to make them always shown? The VScroll and HScroll seem not working at all. Any one knows why?
7
by: tfsmag | last post by:
Okay, i have a datagrid that I want to populate with invoices that are due on the month shown on the calendar, so what i need to do is retrieve the current 'shown' month and create a couple of...
8
by: tfsmag | last post by:
i need to create a date range based on the current "shown" month on a calendar control to query a database and populate a datagrid based on that date range. how can i retrieve the "shown" month...
3
by: MilanB | last post by:
Hello I have C# code that normaly throw exception and error message is shown. It's works fine. Separatlely I have ATL Component. When ATL Componenet fires event, and later C# code is called,...
5
by: Michael.Suarez | last post by:
Suppose I have a button on a form that opens up another form. the code in the buttons click event is: frmMyCustomForm frm = new frmMyCustomForm (); frm.ShowDialog(); frm.Dispose(); The...
1
by: Victory | last post by:
i am using the Shown event for a form. It is in .NET 2.0. It is an event that occurs when a form is displayed. I wanted to use this event since i needed the processing of data to occur after the...
2
by: colinzhu | last post by:
I want to have the print dialog shown automatically after the the page is loaded, but when I try to call window.print() BEFORE the iframe, the print dialog is not shown at all. Anyone can help? ...
1
oranoos3000
by: oranoos3000 | last post by:
hi i'd like to set background-image of submit button to a picture with gif extension i set style="background-color:url(images/back.gif)" in input tag with this work this button in firefox is shown...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.