Disabling Tooltips in a TreeView Control

It is possible to disable tooltips that are shown when hovering a node by adding the TVS_NOTOOLTIPS window style to the control’s creation parameters:

Imports System.Windows.Forms

Public Class TooltipLessTreeView
    Inherits TreeView

    Protected Overrides ReadOnly Property CreateParams() As CreateParams
        Get
            Const TVS_NOTOOLTIPS As Int32 = &H80
            Dim cp As CreateParams = MyBase.CreateParams
            cp.Style = cp.Style Or TVS_NOTOOLTIPS
            Return cp
        End Get
    End Property
End Class