Visual studio type tooltip

Hi
I have a multiline textbox and i want to add a tooltip.
I need this tooltip to be displayed at the position of the cursor  and not at the position of the mouse pointer. I want this tooltip to be similar to the visual studio ide tooltips that appear when i write code.
Does anybody knows how can i do this
Thanks



Answer this question

Visual studio type tooltip

  • Thomas Gurtl


    OK. Thanks for your post.
    Is there any other solution usining VS2003
    Thanks again.


  • David Weller

    In Windows Forms 2.0 you can OwnerDraw a tooltip, and you can call ToolTip.Show at a particular position.

    If you want richer stuff in there (links, text, etc) you can use a ToolStripDropDown with ToolStripItems.

    Hope this helps,
    Jessica

  • Peter Nowak (Germany)

    Not easily, you would have to use p/invoke to achieve it.
  • Visual studio type tooltip