You need to override it like this:
Public Class TreeViewEx
Inherits TreeView
Private Const TVS_NOTOOLTIPS As Integer = &H80
Protected Overrides ReadOnly Property CreateParams() As
System.Windows.Forms.CreateParams
Get
Dim params As CreateParams = MyBase.CreateParams
params.Style = params.Style Or TVS_NOTOOLTIPS
Return params
End Get
End Property
End Class
/claes
"sureshsmani" <su*****@meritoutsource.co.uk> wrote in message
news:eR**************@tk2msftngp13.phx.gbl...
In the tree view, if the size of the text is longer than the size of the
control and the mouse is hovered on a item, the item is displayed in full
with a yellow highlight. Is is possible to disable that feature in the
tree
view.
Suresh S.