Results 1 to 3 of 3

Thread: ToolTips Using Frame & Label

  1. #1

    Thread Starter
    Frenzied Member arpan_de's Avatar
    Join Date
    Oct 2005
    Location
    Mumbai, India
    Posts
    1,394

    Question ToolTips Using Frame & Label

    The history of the web pages visited by a user is listed in a TreeView. When the mouse is moved over each node in the TreeView, a tooltip appears with the title & the URL of the web page on which the mouse currently rests. Since the TreeView doesn't inherently support tooltips, I am using a Frame with a Label control to render the tooltips (the Frame encompasses the Label).

    What I find is if the mouse is moved over the TreeView at a brisk pace, then the tooltips (i.e. the Frame with the Label) leaves its trailings on the web page. Please have a look at the image attached to get a better idea of what I am trying to say.

    Note the thick dark blue area in the image. The dark blue area is actually the trailings left by the tooltips that were generated when the mouse was moved down from the upper edge of the entire dark blue area till the tooltip (towards the bottom with the light yellow background).

    Any idea how do I avoid that dark blue area which is the result of the tooltips when the mouse is moved over the TreeView at a brisk pace?
    Last edited by arpan_de; Jan 8th, 2008 at 09:51 AM.


    ARPAN

    IF YOU HAVE AN APPLE & I HAVE AN APPLE AND WE EXCHANGE THE APPLES, THEN YOU & I WILL STILL HAVE ONE APPLE BUT IF YOU HAVE AN IDEA & I HAVE AN IDEA AND WE EXCHANGE OUR IDEAS, THEN EACH OF US WILL HAVE TWO IDEAS!

    NOTHING IS IMPOSSIBLE IN THIS WORLD.....EVEN THE WORD IMPOSSIBLE SAYS I'M POSSIBLE!

    PRACTICE MAKES A MAN PERFECT BUT NOBODY IS PERFECT; SO WHY PRACTICE?

  2. #2

    Thread Starter
    Frenzied Member arpan_de's Avatar
    Join Date
    Oct 2005
    Location
    Mumbai, India
    Posts
    1,394

    Re: ToolTips Using Frame & Label

    Sorry forgot to attach the image. Here it is.
    Attached Images Attached Images  


    ARPAN

    IF YOU HAVE AN APPLE & I HAVE AN APPLE AND WE EXCHANGE THE APPLES, THEN YOU & I WILL STILL HAVE ONE APPLE BUT IF YOU HAVE AN IDEA & I HAVE AN IDEA AND WE EXCHANGE OUR IDEAS, THEN EACH OF US WILL HAVE TWO IDEAS!

    NOTHING IS IMPOSSIBLE IN THIS WORLD.....EVEN THE WORD IMPOSSIBLE SAYS I'M POSSIBLE!

    PRACTICE MAKES A MAN PERFECT BUT NOBODY IS PERFECT; SO WHY PRACTICE?

  3. #3
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: ToolTips Using Frame & Label

    Try calling DoEvents before you update your tooltip frame thingy.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width