> Does anyone know how to generate a multi line ToolTip using the ToolTip
> class? I have tried using the newline (\n using C#) in the text but that
> displays the \n in the text when the tooltip displays. I've looked at the
> OwnerDrawn option, but it appears most of the params are read only instead
> of being set. I'm hoping not to have to go down to the WinAPI level with
> the IWin32Window Handle... Any suggestions?
I use line feed (vb constant vblf) without any problems. I call SetToolTip
with a string like "line1" & vblf & "line2". No problems, no winapi's.
Techno_Dex - 21 Jul 2006 21:18 GMT
Mental Laps on my part.... I added to String in the Properties window, which
automatically escaped the backslash for me, then I tried coding the text
directly in the constructor, but I escaped the whole string with a
@"<string>"..... Never mind me.
>> Does anyone know how to generate a multi line ToolTip using the ToolTip
>> class? I have tried using the newline (\n using C#) in the text but that
[quoted text clipped - 8 lines]
> SetToolTip
> with a string like "line1" & vblf & "line2". No problems, no winapi's.
Jeff Gaines - 21 Jul 2006 21:19 GMT
>>Does anyone know how to generate a multi line ToolTip using the ToolTip
>>class? I have tried using the newline (\n using C#) in the text but that
[quoted text clipped - 5 lines]
>I use line feed (vb constant vblf) without any problems. I call SetToolTip
>with a string like "line1" & vblf & "line2". No problems, no winapi's.
Or how about Environment.Newline in C#?

Signature
Jeff Gaines