Tree nodes being highlighted

  • Thread starter Thread starter Tony
  • Start date Start date
T

Tony

I am building drag and drop in to my treeview and wish for the tree nodes to
appear selected as the cursor is passed over them.
How can I achieve this?

Tony
 
Hi,

You could probably subscribe to the DragOver event, use GetNodeAt to obtain
a node under the mouse pointer and then set the tree's SelectedNode property
to the node located?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top