Как убрать всплывающие подсказки в TreeView
Материал из DRKB
Как убрать всплывающие подсказки в TreeView[править | править код]
{
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:
}
procedure TForm1.FormShow(Sender: TObject);
const
TVS_NOTOOLTIPS = $0080;
begin
SetWindowLong(Treeview1.Handle, GWL_STYLE,
GetWindowLong(TreeView1.Handle, GWL_STYLE) xor TVS_NOTOOLTIPS);
end;
Source: Взято с сайта: http://www.swissdelphicenter.ch
ID: 01117
TCustomTreeView.WMNotify. О том, что такое тип notify'а TTM_NEEDTEXT прочтешь в хелпе. Убрать хинты можно, перекрыв обработчик для этого уведомительного сообщения.
Source: http://delphiworld.narod.ru/
ID: 01114