By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,168 Members | 2,548 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,168 IT Pros & Developers. It's quick & easy.

Drag And Drop

P: n/a
Hi
In my application am using list box and treeview controls
list box contains the files and the treeview contains files,folderrs and
subfolders.
I'll select a file from listbox and drag it and then i'll place(drop) that
file in the any

folder or subfolder which are presented in treeview control.
Can anybody tell me how to do this one.

Thanx in advance
Yoshitha
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Yoshita,

Have a look at the bottom of this page, it is a listview, however the
treeview and that are almost equal in my opinion with adding items.

http://msdn.microsoft.com/library/de...mpdragdrop.asp

I hope this helps?

Cor

"Yoshitha" <gu**********@rediffmail.com>
..
Hi
In my application am using list box and treeview controls
list box contains the files and the treeview contains files,folderrs and
subfolders.
I'll select a file from listbox and drag it and then i'll place(drop) that
file in the any

folder or subfolder which are presented in treeview control.
Can anybody tell me how to do this one.

Thanx in advance
Yoshitha

Nov 21 '05 #2

P: n/a
Yoshitha,

Are you asking how to update the TreeView after the drop or how to move a
file based on the drag and drop operation?
--
Mike

Mike McIntyre
Visual Basic MVP
www.getdotnetcode.com
"Yoshitha" <gu**********@rediffmail.com> wrote in message
news:OK**************@TK2MSFTNGP10.phx.gbl...
Hi
In my application am using list box and treeview controls
list box contains the files and the treeview contains files,folderrs and
subfolders.
I'll select a file from listbox and drag it and then i'll place(drop) that
file in the any

folder or subfolder which are presented in treeview control.
Can anybody tell me how to do this one.

Thanx in advance
Yoshitha

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.