Solved

Multiline Tooltip

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Login Script to Copy Folders 12 35
EvenOdd challenge 10 108
Fibonacci challenge 11 121
firstChar challenge 13 115
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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 Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
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.

770 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