DragDrop TreeView / ListView


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: DragDrop TreeView / ListView

  1. #1
    Join Date
    Jun 2005
    Posts
    10

    DragDrop TreeView / ListView

    Hi all,

    I have a problem that i hope you will be able to help me with

    I am working in VB6 and have a standard form with a listView and a treeview.
    My aim is to organise images on this form
    I populate the Treeview with data from a SQL, this gives me a list of root folders (nodes) when the user clicks the node the listview is populated with a list of images that are linked to the node clicked.

    What i need is to be able to drag the image from the listview onto the treeview and alter the node that the image is linked to. this will effectivly move the image.

    What is the best method of draging and droping when using a treeview and listview ???

    Thanks
    John

  2. #2
    Join Date
    Dec 2003
    Posts
    2,750
    I haven't looked at the code but the following may help:

    http://www.freevbcode.com/ShowCode.Asp?ID=3766
    Paul
    ~~~~
    Microsoft MVP (Visual Basic)

  3. #3
    Join Date
    Jun 2005
    Posts
    10
    Hi,

    That is PERFECT !!!!!!!!!!!

    Thanks Lots :-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center