Receiving a "Shell IDList Array" object via drag and drop

A

Andrea

My C# application is a drop target for the drop format Shell IDList
Array
I have some problems actually getting the data. I was using the same
code used for the FileDrop data target but I'm getting an exception.
What's the correct way to handle this type of data?
I receive an invalid cast exception.
Here's my non working code

Array droppedItemList = (Array) e.Data.GetData("Shell IDList Array");

Thanks.
Andrea
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top