473,406 Members | 2,369 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,406 software developers and data experts.

Weird problem with treeview tooltips - Expert input required :0) please

Hi,
I have a treeview which has some nodes whose text are too long to
display, so, when i hover my mouse over the node a tooltip appears
showing all the text, and then disappears almost immediately. If i move

my mouse across the node it flashes on and off (something seems to be
cancelling it?)

If i turn my main form's transparencykey to nothing, the problem goes
away.

If i look in spy++, i seem to find TTM_POP messages appearing when the
transparencykey is set, but no TTM_POP when it is not set.

Help!
James.

Jan 24 '07 #1
1 2003

You can replicate this behaviour by
1) creating a new windows application
2) set Form1.TransparencyKey to the same as Form1.BackColor
3) Add a treeview to the form
4) Add a node to TreeView1 whose text is too long (i used
'whyisthishappeningwhyisthishappeningwhyisthishapp eningwhywhywhy')
5) run it and hover your mouse over the node.

Cheers,
James

On 24 Jan, 12:23, "pigeonrandle" <pigeonran...@hotmail.comwrote:
Hi,
I have a treeview which has some nodes whose text are too long to
display, so, when i hover my mouse over the node a tooltip appears
showing all the text, and then disappears almost immediately. If i move

my mouse across the node it flashes on and off (something seems to be
cancelling it?)

If i turn my main form's transparencykey to nothing, the problem goes
away.

If i look in spy++, i seem to find TTM_POP messages appearing when the
transparencykey is set, but no TTM_POP when it is not set.

Help!
James.
Jan 24 '07 #2

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

Similar topics

3
by: redneck_kiwi | last post by:
Hi all: I have a really weird problem. I am developing a customer catalog system for my company and as such have delved into sessions for authentication and access levels. So far, I have managed...
6
by: Marek Mänd | last post by:
Can the <button><img></button> mutated via CSS so, that the inner image of <BUTTON> would entirely visually become the button itsself - I mean without the outer elements borders and so... ...
7
by: x muzuo | last post by:
Hi guys, I have got a prob of javascript form validation which just doesnt work with my ASP code. Can any one help me out please. Here is the code: {////<<head> <title>IIBO Submit Page</title>...
1
by: kiran | last post by:
I cratee a form to meet the fallowing requirement. 1. If any node is selected the corresponding checkbox should be checked 2. If any checkbox is clicked the corresponding node should be selected ...
2
by: Mark | last post by:
I got this code from the Internet. Demo on the site works fine but downloaded version is not. I am a very new to .NET, I cannot figure this out, please help. Here is the code: ASPX code: <%@...
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,...
1
by: Mark | last post by:
Hello, I am using the new TreeView in ASP.Net 2.0. I am using its PopulateOnDemand feature. The problem is that the treeviews +/- images, and any checkboxes, have the tooltip set. If the node...
0
by: pagates | last post by:
Hello All, I'm having a problem in a UserControl with ToolTips on a TreeView. They are showing up behind the user control and parent container (in this case, a Windows Form). I've attempted...
2
by: swethak | last post by:
hi , i write the code in .htm file. It is in cgi-bin/searches/one.htm.In that i write a form submitting and validations.But validations are not worked in that .htm file. I used the same code in my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...

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.