Home All Groups Group Topic Archive Search About
Author
15 Jun 2006 1:41 PM
Robert Smith
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

Author
15 Jun 2006 7:58 PM
gene kelley
On Thu, 15 Jun 2006 06:41:02 -0700, Robert Smith
<RobertSm***@discussions.microsoft.com> wrote:

Show quoteHide quote
>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