How to get TreeNode from a handle

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

If I have "Handle" of a TreeNode, how can I refer to the treenode?
For example, if the treenode is tn then I want to get tn.Text or tn.Index.

In other words, TreeNode has its pointer property as Handle, how do I
crossreference?
 
OOPS ! Asked just too early.

This is what I was looking for:
public static TreeNode FromHandle(
TreeView tree,
IntPtr handle
);
 
Back
Top