I need help on programming Drag-n-drop feature  
Author Message
Fantonis





PostPosted: Visual C# General, I need help on programming Drag-n-drop feature Top

Hi,

I was asked to implement drag-n-drop with TreeView and the requirement is : "Drag-n-drop a file from Explorer to the TreeView and display the tree. The file is in XML format."

Can someone give me some advices as I'm newbie in C# and I have no idea on how to do it

Thank you.



Visual C#13  
 
 
RizwanSharp





PostPosted: Visual C# General, I need help on programming Drag-n-drop feature Top

See this:

http://www.codeproject.com/cs/miscctrl/FileBrowser.asp

This article is a bit advanced so you can start and learn with the basic one here:

http://www.codeproject.com/csharp/dandtutorial.asp

IN this article work is not done with TreeView but Idea is the same, You need to handle same events what ever control you use.

I hope this will help.

Best regards,

Rizwan



 
 
Fantonis





PostPosted: Visual C# General, I need help on programming Drag-n-drop feature Top

Thank you Rizwan. That help me alot ^^.

Fantonis


 
 
RizwanSharp





PostPosted: Visual C# General, I need help on programming Drag-n-drop feature Top

You are more than Welcome :).

Best Regards,

Rizwan