TreeView Problem

sivle

Newcomer
Joined
Feb 1, 2003
Messages
6
I have a contextmenu on a treeview.
How can track which node is being rightclicked?
Someting like HitTest Method on VB6
Thanks very much :)
 
Visual Basic:
        Dim n As TreeNode
        n = TreeView1.GetNodeAt(TreeView1.PointToClient(TreeView1.MousePosition))
:)
 
Back
Top