How to Scroll A TreeView Programatically

  • Thread starter Thread starter VoxCode LLC
  • Start date Start date
V

VoxCode LLC

What is the correct way to scroll a tree view control programatically. I
can't seem to find any functions to do this. I am implementing some drag
and drop code for a TreeView and I need to be able to scroll the tree when
the drag cursor is on the first visiable or last visible node.

Thanks - Joel
 
Never fails, as soon as I post a message I find the answer.

In case anybody's interested, you use TreeNode.NextVisibleNode and
PrevVisibleNode in conjunction with TreeNode.EnsureVisible.

Joel
 
Back
Top