|
-
April 8th, 1999, 07:39 PM
#1
tooltip multiline
how to display tool tip text in multiple lines?
-
April 8th, 1999, 11:53 PM
#2
Re: tooltip multiline
I'm not sure about this (only briefly dabbled with tooltips) but I think when you're setting the tooltip text, use the carriage return escape sequence "\n".
Sor for text like...
Tooltip Line 1
Tooltip Line 2
Tooltip Line 3
do...
CString strTooltipText = "Tooltip Line 1\nTooltip Line 2\nTooltip Line 3";
Tooltip.SetText (strTooltipText); // or whatever the method for setting the text...
Hope that works...
Niall
-
April 9th, 1999, 12:23 AM
#3
Re: Actaully it didn't work.
Hi.
Before I try this.
It didn't work.
Does anyone have a good idea?
I heard IE4.0 common control can this?
Regards.
-Masaaki Onishi-
-
April 9th, 1999, 12:39 AM
#4
Re: tooltip multiline
i tried that already. it didn't work. in excel bar charts, we have tool tip that is multiline.
-
April 9th, 1999, 01:36 AM
#5
Re: tooltip multiline
You have to play with SetMaxTipWidth(). If tooltip text exceeds this width, text is broken down into next line. Look at documentation for more details including TTM_SETMAXTIPWIDTH.
Ajay
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|