[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

More easy points: How to disable hints on TreeViews

Posted on 1998-01-20
2
Medium Priority
?
332 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 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

873 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