Treeview tooltips zorder problem?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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,

Jeff Beem
 
I apologize, I dont believe I explained the problem clearly. I'm not using a
tooltips control. What I'm referring to are the tooltips that appear by
default when a node's text length exceeds beyond the right border of the
control window.

I've tried to reproduce it where all I do is load a class that inherits from
the treeview but does nothing else (except load a couple of nodes) and
everything works correctly. The treeview mimics the behavior of the Windows
Explorer treeview and is a slight modification of the one at
http://www.codeproject.com/vb/net/VbNetExpTree.asp. I simply changed it from
a usercontrol sited treeview to a class that inherits the treeview.

I did find a kb article
(http://support.microsoft.com/default.aspx?scid=kb;en-us;241102) that talks
about a problem with an older version of the treeview having a problem like
this and the workaround was to set the style bits to not show tooltips and
then set the style bits back to showing tooltips. I suppose I could try
something like that but I'd rather resort to that only as a last resort.

-Jeff
 
Hi,

Take a look at the vb.net power pack folder viewer and file
viewer controls.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbpowerpack.asp

Ken
----------------------
I apologize, I dont believe I explained the problem clearly. I'm not using
a
tooltips control. What I'm referring to are the tooltips that appear by
default when a node's text length exceeds beyond the right border of the
control window.

I've tried to reproduce it where all I do is load a class that inherits from
the treeview but does nothing else (except load a couple of nodes) and
everything works correctly. The treeview mimics the behavior of the Windows
Explorer treeview and is a slight modification of the one at
http://www.codeproject.com/vb/net/VbNetExpTree.asp. I simply changed it
from
a usercontrol sited treeview to a class that inherits the treeview.

I did find a kb article
(http://support.microsoft.com/default.aspx?scid=kb;en-us;241102) that talks
about a problem with an older version of the treeview having a problem like
this and the workaround was to set the style bits to not show tooltips and
then set the style bits back to showing tooltips. I suppose I could try
something like that but I'd rather resort to that only as a last resort.

-Jeff
 
Thanks Ken, I appreciate the response. However, that control appears to be
lacking a vital feature that I need > "My Network Places".

-Jeff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top