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

The most important question ever asked (for a million years)

P: n/a
It really is...

I have a TreeView which has some TreeNodes 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 in a manner
akin to a school disco?

You can replicate this behaviour really easily 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.

I have tried fixing the problem by removing the tooltips and then
recreating them, but to no avail


If i set my main form's TransparencyKey = Color.Empty, the problem goes

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. Can i stop
these messages somehow?

Any help would be greatly appreciated, as it always is :o)
James Randle.

Jan 25 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.