Tooltip goes off screen when it closer to right edge of screen -- Help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pallavirao
    New Member
    • Mar 2010
    • 1

    Tooltip goes off screen when it closer to right edge of screen -- Help

    Hello Everyone,

    I am using System.Windows. Forms.Tooltip object. Problem is sometimes tooltip pops up off screen when it is closer to right edge of screen. I want tooltip to be always displayed with in screen boundaries. How can i do that?

    Pls reply..
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    You'll have to write something custom. That {bad} behavior is part of the Tooltip control as written by Microsoft. You would have thought they would lead by example, but its a case of it being sloppy work on their part.

    You might be able to make a new tooltip that inherits from the framework tooltip, but checks the location. I'm not sure it that will work as I've never tried. But its a thought.

    Comment

    Working...