Home All Groups Group Topic Archive Search About

Exemple needed to reorganize nodes(treeview) with mouse (change Nodes order)

Author
1 Feb 2006 9:40 PM
Marc R.
Hi all,

I won't ask an complete example here but some good links for that issue
would be perfect.

(the I will only need to do the save function to save the current position
of the nodes)

Thanks in advance.

Marc R.

Author
2 Feb 2006 12:13 AM
alantolan
I'm afraid that I cannot make out what the question is.

Drag and drop nodes in a treeview?

Alan.
Author
2 Feb 2006 1:07 AM
Marc R.
I want to be able to re-organise the nodes by using the mouse (mouse
down---- drag node to new position ---- mouse up).

I'm using Vs 2002
..

<alanto***@users.com> wrote in message
Show quoteHide quote
news:1138839181.812216.242300@g44g2000cwa.googlegroups.com...
>
> I'm afraid that I cannot make out what the question is.
>
> Drag and drop nodes in a treeview?
>
> Alan.
>
Author
2 Feb 2006 7:58 PM
Fr15ky
Marc,

I reviewed the below pages and found that the code on the pages is
supported in all versions of .NET. So they should be helpful to you as
well.

Mark Dahl
Author
2 Feb 2006 12:18 AM
Fr15ky
Marc,

You may find this example from Microsoft helpful:
http://msdn2.microsoft.com/en-us/library/system.windows.forms.itemdrageventargs.aspx

I don't know if you are using .NET 2.0 or not, but if you are: I have
found this link to be VERY helpful when it comes to processing the
TreeView control:
http://msdn2.microsoft.com/en-us/library/sc9ba94b(en-US,VS.80).aspx

Hope that helps.

Mark Dahl