Solved

More easy points: How to disable hints on TreeViews

Posted on 1998-01-20
2
279 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
2 Comments
 
LVL 2

Accepted Solution

by:
mvz121697 earned 50 total points
Comment Utility
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
Comment Utility
Thanks a lot !!! This works perfect !!!!
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

763 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

11 Experts available now in Live!

Get 1:1 Help Now