Page 1 of 1

drag and drop interfaces IDropTarget et IDataObject

Posted: 2019-08-01, 13:46 UTC
by jan@myriade.be
Hi,

We have another software supplier that changed from the older drag and drop message-based WM_DROPFILES method to
the interfaces IDropTarget et IDataObject.
Since then we cannot use TCMD anymore for dragging and dropping.
Is it correct Total Commander still uses the WM_DROPFILES method ?
Are you considering updating?

Re: drag and drop interfaces IDropTarget et IDataObject

Posted: 2019-08-02, 12:49 UTC
by CoolWater
Maybe you are running TC in elevated (administrator) mode? Drag&Drop is not supported from a non-elevated application when using COM objects.

HTH
CoolWater

Re: drag and drop interfaces IDropTarget et IDataObject

Posted: 2019-08-02, 13:12 UTC
by jan@myriade.be
Hi Coolwater,

Thanks for answering.
No I am not running in elevated mode. I however tried in elevated mode just to check and that also did not work.
I verified with the developer of the application I want to drop to and he says he changed the method to IDroptarget.
I still can drag an drop from Explorer.

Re: drag and drop interfaces IDropTarget et IDataObject

Posted: 2019-08-05, 14:02 UTC
by ghisler(Author)
Could you try also with TC 32-bit? There are some known problems in TC 64-bit. If it doesn't work either, it means that the other app doesn't support all types of data available via IDropTarget/IDataObject.

Re: drag and drop interfaces IDropTarget et IDataObject

Posted: 2019-08-05, 15:46 UTC
by jan@myriade.be
Hi Christian,

I tried 9.22a installed in a new directory and we have the same problem.
Thank you.

Re: drag and drop interfaces IDropTarget et IDataObject

Posted: 2019-08-08, 09:33 UTC
by ghisler(Author)
OK, try contacting the software supplier and ask whether they support all types of data in IDataObject. They should look in a debugger what data is provided by Total Commander.