473,473 Members | 1,965 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to keep ToolTips showing

It looks like I can't set AutoPopDelay to be longer than 5 seconds -- which
is barely enough time to read some of my tooltips.

The documentation suggests that if I don't like that I should use
ToolTip.Show, but there is no example and I can't get it to work.

I created two functions to link to my control's MouseEnter and MouseLeave
events, and I can see them being called at the appropriate times, but the
tooltip does not appear anywhere that I can see.

private void Show_RollingWindowTip(object sender, EventArgs e)
{
Console.WriteLine("Called show");
toolTip1.Show("Explanation of this control.", this);
}
private void Hide_RollingWindowTip(object sender, EventArgs e)
{
Console.WriteLine("Called hide");
toolTip1.Hide(this);
}

In contrast, when I had simply set
toolTip1.SetToolTip(m_control, "Explanation of this control.");
the ToolTip did work, but it disappeared too quickly.

How can I correctly implement Show and Hide on a Form's control? Or else is
there a more elegant solution to keeping the ToolTip up?

Dec 27 '05 #1
3 10961
Hi,

I tried it on my machine, but it seems that I cannot reproduce this on my
machine. I'm settting AutoPopDelay to 20000. Then the tooltip will display
20 sec. Here is a sample that I set the tooltip for a window.

this.toolTip1.SetToolTip(this, "aaa");

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Dec 27 '05 #2
I should have clarified that I'm doing this in VS2005 / .NET 2.0. I don't
see the 5000 limit in .NET 1.1.

"Kevin Yu [MSFT]" wrote:
Hi,

I tried it on my machine, but it seems that I cannot reproduce this on my
machine. I'm settting AutoPopDelay to 20000. Then the tooltip will display
20 sec. Here is a sample that I set the tooltip for a window.

this.toolTip1.SetToolTip(this, "aaa");

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Dec 27 '05 #3
Hi,

I tried the ToolTip.Show method, but I also can't make it display more than
5 sec. I researched the ToolTip.Show method with the Reflector. It uses a
timer to count the time for the duration of the tooltip. There seems to be
something wrong with the timer. If this problem is important to you, I
suggest you contact Microsoft PSS for a hotfix. You can find the contact
information from the following link:

http://support.microsoft.com/default...;OfferProPhone

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Dec 28 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: bill.. | last post by:
I have created a VB app that generates a wireless network status map several times a day. The app adds hidden controls in specific areas of the image (on a form) with extra info in the tooltips...
2
by: carl.manaster | last post by:
Hi, Within my project, I've got a number of classes in separate files. When I point at the name of a class in the file in which it is defined, it shows the <summary> information for the class in...
2
by: Billy Greening | last post by:
Hi, I have attached tooltips to some buttons on my toolbar, but the tooltips at some times are showing up behind the form. When I hover over the button on the far right of my toolbar, I can see...
2
by: Greg Burns | last post by:
I added a toolbar to a form and added one button. I made sure ShowToolTips = true for the Toolbar, and have set a tooltip for the button. The problem is the tooltip only shows after clicking...
1
by: Bernie Yaeger | last post by:
I understand that you should be able to display tooltips in a balloon style on a win xp pc, but I can't figure out the way to code this. Could someone show me a code sample of how to do this? ...
4
by: Jeff Beem | last post by:
I have a class that inherits from TreeView. The treeview has tooltips for the nodes but they're showing up behind the form. Has anyone seen this? Are there any known fixes? Thanks in advance,...
8
by: Mitchell Vincent | last post by:
I have a feeling this is something simple. I have a MDI app written in vb.NET - but no tooltips seem to be showing. Is there some "ShowTips" property that I need to be setting on each window? ...
9
by: timnels | last post by:
I have an issue where I have a user control that is launched into a floating form. At some point later, I allow the user to "unfloat" the user control by reparenting it on a split container in...
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,...
1
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.