Results 1 to 3 of 3

Thread: drag and drop a treeview node

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2000
    Location
    usa
    Posts
    9

    Question

    I have a treeview control on my project. I am wondering how can I drag and drop a node into another node to copy or move their properties or data. For instance; copy or move data of child1_of_root to child2_of_root using drag or drop event.

    Do you have any suggestion?

  2. #2
    Guest
    I saw an example of this once, I'm pretty sure it's here:

    http://support.microsoft.com/downloa...s/Treeview.exe

    Otherwise, ask Judd, he's a treeview pro.

  3. #3
    PowerPoster BruceG's Avatar
    Join Date
    May 2000
    Location
    New Jersey (USA)
    Posts
    2,657
    I'm currently doing a tree-view project, which makes extensive use of dragging and dropping between nodes.

    I can e-mail you some tree-view examples that I got from some site (I forget which one); one of them is called treedrag, which might help you. I found it extremely helpful.

    One thing I had to do some further searching on was how to make the tree-view scroll during a drag and drop operation (the tree does NOT scroll automatically). I found what I needed here:
    http://support.microsoft.com/support.../Q177/7/43.asp

    Let me know if you want me to e-mail you the stuff; I'll check back here shortly (post your e-mail address).

    "It's cold gin time again ..."

    Check out my website here.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width