Solved

More easy points: How to disable hints on TreeViews

Posted on 1998-01-20
2
291 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
find a node in VST 2 64
How to open a new windows chrome resized and disabled the toolbar? 3 83
Run video youtube webbrowse 10 58
Reconfigure Delphi Install? 2 47
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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

863 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

23 Experts available now in Live!

Get 1:1 Help Now