| Scalabium Software | |
| Knowledge for your independence'. | |
|  Home  Delphi and C++Builder
        tips | 
| #13: How can I disable the on-fly tooltips in TTreeView? | 
| 
 | If you have installed the Internet Explorer 4.0 or high, in TTreeView component always displaying a hint for cutted items. It's useful but sometimes prevents and irritates (at least, me). But there is a simple way to switch off this feature: const TVS_NOTOOLTIPS = $0080;
begin
  SetWindowLong(yourTreeView.Handle, GWL_STYLE,
         GetWindowLong(yourTreeView.Handle, GWL_STYLE) xor TVS_NOTOOLTIPS);
end;
 | 
 | 
|       | Copyright© 1998-2025, Scalabium
        Software. All rights reserved. |