473,508 Members | 2,007 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tooltip Falls Behind App

Hi All,

Using VS2003.

I am seeing a problem with using ToolTips.

I am using a tree control, which has a tool tip defined for each node. I
wrap this control inside another, and then place this on a Windows Form app.

The problem I'm having is that the ToolTips are being shown behind the
Windows app. If needed, I can put a screenshot somewhere, but bascially, you
can see the tooltip (if large enough) outside the borders of the app, but not
over the control.

Is this a known issue, and/or does anybody have a workaround?

Thanks,
pagates
Mar 6 '06 #1
1 1277
AlainServais
1 New Member
does anybody have a workaround?
I've noticed that this problem does not happen if the ToolTip is created after the window has been displayed. Therefore I create the ToolTip after the initial display. Paint is a convenient event to do this.

In the constructor, eg:
Expand|Select|Wrap|Line Numbers
  1. this.Paint += new PaintEventHandler(OnPaint);
In OnPaint:
Expand|Select|Wrap|Line Numbers
  1. this.Paint -= new PaintEventHandler(OnPaint); // once is enough
  2. myToolTip  = new System.Windows.Forms.ToolTip(this.components);
  3. // now do whatever you like with the ToolTip
May 4 '06 #2

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

Similar topics

2
1837
by: Stephen | last post by:
I'm trying to work with a datagrid column in order to display a tooltip in a datagrid cell. The reason I am doing this is because I have some long strings being returned and I don't want the rows...
6
2682
by: Robert | last post by:
Hello. I have been trying out the Lebans ToolTip Classes at http://www.lebans.com/tooltip.htm, to display "balloon" style help tips in a form. The classes I am using are located at...
1
3048
by: OShell77 | last post by:
Hi, I have problem with a C# Win Forms app that uses the ErrorProvider class to provide input validation feedback to the user. On my development workstation (WinXP Pro + Visual Studio .NET...
0
259
by: Mihaela B via DotNetMonster.com | last post by:
I have a custom control and attach him a tooltip....I change his region and the tooltip show up behind the form the control is set on... how can i put him back to its place( over the control )......
0
1175
by: Robert | last post by:
Hi, I am having difficulties to render a tooltip in Internet Explorer 6. It keeps hiding behind a relative positioned DIV. It renders fine in Firefox. You can see a simplified example at:...
2
2714
by: LisaBigJax | last post by:
I am using a series of checkbox's in a repeater -- (not the checkboxlist) -- the problem I am encountering is that the checkbox does not have a value attribute. I tried to add it via the...
1
1959
by: Steve | last post by:
I want to show a tooltip over one of my WinForm controls at startup. The control is part of a UserControl that I'm hosting in a CAP DeckWorkspace. In other words, I have many user controls that I...
3
4733
by: GS | last post by:
I did not find it by Google on Microsoft sites I know 102 is just too long and tooltip would not display at all actually first two level of menuitems does not display tooltip properly....
2
1607
by: Eadmund | last post by:
Hi all, Odd question / problem: I'm using a tooltip fom the "Dynamic Drive DHTML code library (www.dynamicdrive.com) - v-cool" - (snipits that are relevant trimed for readability and included...
0
7226
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
7125
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
7328
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
7049
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
7499
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
3199
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
3186
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1561
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
422
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.