Skip to main content
Topic: [Question/Feature Request] Asyncronous drag&drop (Read 436 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[Question/Feature Request] Asyncronous drag&drop

@Peter:
I've implemented a drag&drop operation in my component using fb2k ole_interaction API, that allows (among other thing) copying files from fb2k to external applications (e.g. Windows Explorer). The problem is that such copying operation (invoked during drag&drop) blocks the main thread until the copying process is complete.

The same behaviour is observed with the default playlist viewers in both DUI and CUI. So it seems that the problem is not in my implementation, but rather in the underlying API.

I've Google'd a little and it seems that the problem is the IDataObject interface implementation: for the drag&drop operation to be async-able one have to implement and handle properly the IDataObjectAsyncCapability interface.

So, the question: would it be possible to implement IDataObjectAsyncCapability support in fb2k ole_interaction API?

Thanks in advance =)

PS: The relevant discussion with lots of info on the matter: https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/bbe470ee-55a1-452c-bc58-621ea62fed9e/how-to-make-asynchronous-drag-and-drop-using-iasyncoperation




Re: [Question/Feature Request] Asyncronous drag&drop

Reply #1
Feature request noted, it will be investigated for a future update.



 

Re: [Question/Feature Request] Asyncronous drag&drop

Reply #4
Thanks Peter for this!

 
SimplePortal 1.0.0 RC1 © 2008-2019