Solved

Multiline Tooltip

Posted on 1998-03-25
3
675 Views
Last Modified: 2013-11-19
I am using a CToolTipCtrl but I can't split the long text into several lines. How to make this?
0
Comment
Question by:bobdesign
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
RONSLOW earned 40 total points
ID: 1317213
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
 

Author Comment

by:bobdesign
ID: 1317214
And how to increase control text length limit? (about 80 chars)
0
 

Author Comment

by:bobdesign
ID: 1317215
And how to increase control text length limit? (about 80 chars, the rest is truncated!)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now