Solved

Multiline Tooltip

Posted on 1998-03-25
3
710 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

691 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