[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

More easy points: How to disable hints on TreeViews

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
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…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

649 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