Solved

"Windows Explorer"-like hints for too-long Treenodes

Posted on 2004-10-18
3
298 Views
Last Modified: 2010-04-05
The Windows file explorer (not the Internet Explorer) pops up a hint on a MouseOver event if the file name is too long to fit within the displayed portion of the treelist, containing the full file name. At least it looks like a "Hint", though it's positioned immediately on top and appears almost intantly.

I've been able to do something similar by using the Hint field of a TreeList (actually a TdxTreeList) but the hint applies to the entire tree, not to the tree node that the mouse is positioned over.

I'd like to popup a hint on a MouseOver event for any treenode, as the mouse moves over it, without having to exit and re-enter the list and have it appear directly over the tree node. I'd also like to do it as quickly as Windows Explorer does; there must be a timeout value that can be changed to make the hint popup sooner than the default.

If there's already support within TTreeList, TdxTreeList (DevExpress), or something else easily accessible, please point me to it. Alternatively, if you have a MouseOver event handler that can do something like this, I'b be very grateful for the code.

Thanks,
Alan
0
Comment
Question by:sftweng
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
DragonSlayer earned 500 total points
ID: 12344565
Ermm... not sure if this is what you want? http://www.undu.com/Articles/000928e.html

A bit rudimentary, but I guess stuff like timeout to hide/show can be configured from the above example.
0
 
LVL 7

Author Comment

by:sftweng
ID: 12344608
Thanks, it looks like exactly what I want.
0
 
LVL 14

Expert Comment

by:DragonSlayer
ID: 12344741
Glad to be of help... sigh... too bad undu is not updated anymore...
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Working this component WebCopy with proxy, help 3 84
oracle global variables 4 68
Working with hours 3 57
Breakpoint doesn't stop in my variable 3 23
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
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 Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

786 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