Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: [Question/Feature Request] Asyncronous drag&drop (Read 2843 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.
Microsoft Windows: We can't script here, this is bat country.



 

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

Reply #4
Thanks Peter for this!