?
Solved

More easy points: How to disable hints on TreeViews

Posted on 1998-01-20
2
Medium Priority
?
321 Views
Last Modified: 2010-04-04
I am using a TTreeView component on my project and I can't seem to find a way to disable the Hint property on it. When the mouse moves over any node it displays that node's caption as a hint. I have tried EVERYTHING to disable this with no luck. From the Object Inspector I set ShowHint and ParentShowHint properties to FALSE. I even tried adding an Application.OnHint handler and checking if the control is a TTreeView. Is there some UNDOCUMENTED MAGIC about this that i'm not aware of ?
0
Comment
Question by:joseramos
[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 2

Accepted Solution

by:
mvz121697 earned 200 total points
ID: 1357119
Workaround:

  Style := GetWindowLong(TreeView1.Handle, GWL_STYLE);
  Style := Style or $0080;  // See in MSDN for other constants
  SetWindowLong(TreeView1.Handle, GWL_STYLE, Style);
0
 

Author Comment

by:joseramos
ID: 1357120
Thanks a lot !!! This works perfect !!!!
0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses
Course of the Month15 days, 3 hours left to enroll

771 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