Results 1 to 6 of 6

Thread: multiline tool tip text

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Feb 2001
    Location
    Crossroads
    Posts
    3,046

    multiline tool tip text

    I need multi line tool tip text for a radio button ... is this possible. I add vbcrlf to the string when i make the assignment, but the crlf shows up as gargbage characters.

    any help appreciated.

  2. #2
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Bellevue, WA, USA
    Posts
    1,357
    ~seaweed

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

  4. #4
    Frenzied Member McGenius's Avatar
    Join Date
    Jan 2003
    Posts
    1,199
    I remember making one in VB4 16 and 32 bit. It was actually quite simple: "real" tooltip is a window, so add new form (borderless) and paste 1 label control with index = 0. On your form you will need a Timer and few API functions such
    GetCursorPos
    WindowFromPoint
    SetWindowPos
    etc ... (cannot recall them all the moment but these are the major).

    Haven't use in awhile, but I bet it'll work just as fine.
    McGenius

  5. #5

    Thread Starter
    PowerPoster
    Join Date
    Feb 2001
    Location
    Crossroads
    Posts
    3,046
    The only thing I can see keeping me from a very simple solution (no subclassing, timers, etc) is the lack of a mouse out event for controls.

    Is there any thing I could do to get the equivalent of a mouse out event on an option button?

    Thanks

  6. #6
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    For any control that has a MouseMove event and an hWnd...
    http://www.vbforums.com/showthread.p...re#post1263423
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

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