Solved

Extend the length of CTreeCtrl's tooltip.

Posted on 1997-12-22
2
449 Views
Last Modified: 2013-11-19
I'm using a CTreeCtrl which displays a tooltip when the text of an item is too long to be displayed in the window.  The problem is that the tooltip will only display the first 77 (I might have counted wrong...) characters of the item, even though the actual text of the item may be longer.  Is there a way to make the tip always display the entire content of the item?
0
Comment
Question by:nbushman
2 Comments
 
LVL 1

Accepted Solution

by:
WBerthin earned 50 total points
ID: 1312903
Hi nbushman:

FIRST THE BAD NEWS
The CToolTipCtrl only support up to 80 characters.

NOW THE GOOD NEWS
Microsoft soon plans to release IE 4.0 which will support
tooltips with exciting new features including:
- more than 80 characters
- multiline tooltips
- colored text in tooltips

AND if you want it now not then, try an email to
Simon Wilson <simon@TECHSOFT.DEMON.CO.UK> (that is no me!)
He has written a class that operates similarily to tooltips
which does not have the 80 character limitation.
I am pretty sure if you ask him real nicely,
he will email you his source code, too help you out.

0
 
LVL 1

Expert Comment

by:Arkadiy
ID: 1312904
I believe when you install IE 3.0 or later, that tooltip is available automagically!
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

Suggested Solutions

Title # Comments Views Activity
haveThree challenge 22 113
post4 challenge 28 92
scoreUp challenge 14 56
ASP.NET C# MessageBox.Show Showing a modal dialog box or form when the application ... 2 102
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…
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…
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.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

911 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

16 Experts available now in Live!

Get 1:1 Help Now