Insider1984
Technical User
I've searched the forum with no matches to treeview and drop or drop. My apollogies for all the posts recently.
I have a populated treeview on the left of a user control. The right is to be populated by draging a node from the left into the right.
I can't even seem to get dragging to work. When I try to look at the "drag" events on a Treeview, there are many but they don't really work as I expected.
Eventually I'd like the following:
Grab a node from treeviewLeft and drag into right. I would need to know the node name and it's parents to correctly determine in the treeviewRight where it goes and which parents gets this new child. Also I'd like to get the location of the "drop" on the new form.
I don't need to know how it's done (thought sometimes that is easy). If there is a easy simple example or online "help guide" that would be great. A fair search on google didn't bring much except a bunch of custom treeview controls for profit!
=====================
Insider
4 year 'on the fly' programmer
C, C++, C#, MFC, Basic, Java ASP.NET
I have a populated treeview on the left of a user control. The right is to be populated by draging a node from the left into the right.
I can't even seem to get dragging to work. When I try to look at the "drag" events on a Treeview, there are many but they don't really work as I expected.
Eventually I'd like the following:
Grab a node from treeviewLeft and drag into right. I would need to know the node name and it's parents to correctly determine in the treeviewRight where it goes and which parents gets this new child. Also I'd like to get the location of the "drop" on the new form.
I don't need to know how it's done (thought sometimes that is easy). If there is a easy simple example or online "help guide" that would be great. A fair search on google didn't bring much except a bunch of custom treeview controls for profit!
=====================
Insider
4 year 'on the fly' programmer
C, C++, C#, MFC, Basic, Java ASP.NET