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

  • Thread starter Thread starter Andrea
  • Start date Start date
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
 
Back
Top