hirf-spam-me-here
Thu Feb 12 07:13:09 CST 2004
* Vladimir Bezugliy <vbez@inbox.ru> scripsit:
>>> How can I supress tooltips in my TreeView?
>> <
http://www.google.de/groups?selm=e01Rs6EfDHA.2260%40TK2MSFTNGP10.phx.gbl>
>
> I do not have access to internet.
You will have to derive a class from 'TreeView':
\\\
Public Class UserControl1
Inherits TreeView
Private Const TVS_NOTOOLTIPS As Int32 = &H80
.
.
.
Protected Overrides ReadOnly Property CreateParams( _
) As System.Windows.Forms.CreateParams
Get
Dim p As CreateParams = MyBase.CreateParams
p.Style = p.Style Or TVS_NOTOOLTIPS
Return p
End Get
End Property
End Class
///
--
Herfried K. Wagner [MVP]
<
http://www.mvps.org/dotnet>