randall2nd
Programmer
I am new to C# and .NET.
I have created an app that will list files in a listview control for specified directories.
I need to be able to do drag and drop file opens. Exactly like Windows Explorer.
For example:
If a text file (abc.txt) is in the listview, I need to be able to grab that entry and drag it onto an open notepad application, drop it and have note pad open the dropped file.
Thus far I have been able to grab the item drag it, but when I drag oustide my app the cursor turns to the not-allowed cursor.
What type of Object should I be using in DoDragDrop()?
How do create that Object?
What type(s) of Effects should I be using in DoDragDrop()?
Am I missing something?
All advice/guidance/examples are appreciated.
Randall2nd
I have created an app that will list files in a listview control for specified directories.
I need to be able to do drag and drop file opens. Exactly like Windows Explorer.
For example:
If a text file (abc.txt) is in the listview, I need to be able to grab that entry and drag it onto an open notepad application, drop it and have note pad open the dropped file.
Thus far I have been able to grab the item drag it, but when I drag oustide my app the cursor turns to the not-allowed cursor.
What type of Object should I be using in DoDragDrop()?
How do create that Object?
What type(s) of Effects should I be using in DoDragDrop()?
Am I missing something?
All advice/guidance/examples are appreciated.
Randall2nd