Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Extend the length of CTreeCtrl's tooltip.

Posted on 1997-12-22
2
Medium Priority
?
475 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
[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 Comments
 
LVL 1

Accepted Solution

by:
WBerthin earned 150 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
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 …
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.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

722 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