Hello!

Perhaps theres someone in the who is able to help me .....

I use a TreeView (MS Common Controls 5.0 (SP2)), and it works fine so far.

But: I need something witch displays Fond.Underlined and a Userdefined MouesIcon when the Users Mousepointer is over a spezified Node of the TreeView.

This is what i have done so far:
(Makes the spezified Node selected)

Code:
Private Sub tvwModule_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)

    Dim nodX As Node
    Set nodX = tvwModule.HitTest(X, Y)

    If Not nodX Is Nothing Then
        If Not nodX.Parent Is Nothing Then
            If Not nodX.Child Is Nothing Then
            Else
                ' Only BabyNode will be selected
                nodX.Selected = True
            End If
        End If
    End If

    Set nodX = Nothing
    
End Sub
There is a second Problem I cant resolve:
(Maybe Simple)

How do I make sure the TreeView first Row is displayed, even when the TreeView has Scrollbars?
Right now it seems the TreeViews Scrollbars are scrolled to the middle of the TreeView, I want them at the Begin of the Control, e.G. at TreeViews Top and Left.

Any ideas?

Thanks in Advanced,

MyVar.