I'm having an hard time trying to figure how to do this. I want to handle the drag and drop from windows explore to my wpf application. It works fine, except for one thing.
I don't know how to handle the cancelling of the drag and drop.
In a normal way I would have a QueryContinueDrag event that occurs on my DragSource and tells me if the Escap key is pressed. But since I don't start the drag and drop operation, I don't have a drag source, and therefor no QuerContinueDrag event, so I can't clean my drap and drop operation (like removing the D&D adorner...).
I'v already try to fake a DragSource, but it's not working since the Events occurs on the element on which the drag and drop operation started (DragDrop.DoDragDrop...).
So if you have any idea :)