Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 719
  • Last Modified:

Multiline Tooltip

I am using a CToolTipCtrl but I can't split the long text into several lines. How to make this?
0
bobdesign
Asked:
bobdesign
  • 2
1 Solution
 
RONSLOWCommented:
Set the max width (in pixels) of your tooltip.

If the text required is longer, it will wrap to multiple lines

eg.
myToolTip.SendMessage(TTM_SETMAXTIPWIDTH, 0, 80);

0
 
bobdesignAuthor Commented:
And how to increase control text length limit? (about 80 chars)
0
 
bobdesignAuthor Commented:
And how to increase control text length limit? (about 80 chars, the rest is truncated!)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now