hiding tooltips

G

Guest

Hello,
I have a Tree that contains tooltips, however when I right click on a
node of the tree the context menu covers up the tooltips and it looks rather
unprofessional.
I wish to hide the tooltips before the context menu is displayed. I have the
following code.


MyTree_mouseup event

'stop the tooltips this does not seem to work
MyTree.tooltips = false

'start the context menu, I wish to remove tooltips at this
point
If SetupContextMenu(cmnuTree, myNode.Tag.ToString,
ContextMenuImageList)
'some irrelevant code here
End If

thanx in advance
Robbie
 
G

gene kelley

Hello,
I have a Tree that contains tooltips, however when I right click on a
node of the tree the context menu covers up the tooltips and it looks rather
unprofessional.
I wish to hide the tooltips before the context menu is displayed. I have the
following code.


MyTree_mouseup event

'stop the tooltips this does not seem to work
MyTree.tooltips = false

'start the context menu, I wish to remove tooltips at this
point
If SetupContextMenu(cmnuTree, myNode.Tag.ToString,
ContextMenuImageList)
'some irrelevant code here
End If

thanx in advance
Robbie

In VB2005:
MyTree.ShowNodeToolTips = False

Gene
 

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

Top