Simple Listview Filemanager
Posted on 2002-06-13
I'm working on a project which requires files to be copied from one directory to another (only 2 key directories), and then to edit an ini file to reflect the change. The way I think would be the best is to make a simple dialog app with two listviews. The first displays the contents of the first directory and the other displays the content of the second directory. I then need to allow a user of the program to drag a list view item (file) from one list view to the other. When this is done i want the file to be copied and the ini file to be updated. I understand how to update the ini file. What i need to know how to make 2 listviews display the contents of a directory and allow files to be dragged across. If that operation also called a function, it would be great because i could put the ini file code in it.
I looked at MSDN but i can't find anything very on topic. Plus, i've been having trouble downloading MSDN examples. Can someone show me the key things to know about this, or point me in the direction of a sample application.