Solved

Multiline Tooltip

Posted on 1998-03-25
3
700 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.NET how to use the Vertical ScrollBar 5 120
Expand macro to ask for filename column 8 37
Line meaning 9 89
sumHeights2  challenge 7 130
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

761 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