We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Treeview: Finding the TreeNode under the mouse cursor

The VB6 TreeView control had a HitTest method returning a node for an (x,y) pair. Anyone know how to get from coordinates to a TreeNode in the .NET TreeView? I can't see it. Thanks -Jeremy Pardoe-

2 Replies

JP Jeremy Pardoe October 4, 2002 05:19 PM UTC

Sorry, this was a dumb question. The answer is the GetNodeAt method of the TreeView. Do't know how I missed it.


AD Administrator Syncfusion Team September 24, 2003 08:48 AM UTC

> The VB6 TreeView control had a HitTest method returning a node for an (x,y) pair. Anyone know how to get from coordinates to a TreeNode in the .NET TreeView? I can't see it. > > Thanks > > -Jeremy Pardoe-

Loader.
Up arrow icon