hiding tooltips

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Robert Smith

    #1

    hiding tooltips

    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 SetupContextMen u(cmnuTree, myNode.Tag.ToSt ring,
    ContextMenuImag eList)
    'some irrelevant code here
    End If

    thanx in advance
    Robbie
  • gene kelley

    #2
    Re: hiding tooltips

    On Thu, 15 Jun 2006 06:41:02 -0700, Robert Smith
    <RobertSmith@di scussions.micro soft.com> wrote:
    [color=blue]
    >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_mouse up 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 SetupContextMen u(cmnuTree, myNode.Tag.ToSt ring,
    >ContextMenuIma geList)
    > 'some irrelevant code here
    > End If
    >
    >thanx in advance
    >Robbie[/color]

    In VB2005:
    MyTree.ShowNode ToolTips = False

    Gene

    Comment

    Working...