Solved

Extend the length of CTreeCtrl's tooltip.

Posted on 1997-12-22
2
439 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

760 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

19 Experts available now in Live!

Get 1:1 Help Now