drag and drop interfaces IDropTarget et IDataObject

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
jan@myriade.be
Junior Member
Junior Member
Posts: 3
Joined: 2019-08-01, 13:42 UTC

drag and drop interfaces IDropTarget et IDataObject

Post 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?
CoolWater
Power Member
Power Member
Posts: 734
Joined: 2003-03-27, 16:33 UTC

Re: drag and drop interfaces IDropTarget et IDataObject

Post 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
jan@myriade.be
Junior Member
Junior Member
Posts: 3
Joined: 2019-08-01, 13:42 UTC

Re: drag and drop interfaces IDropTarget et IDataObject

Post 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.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: drag and drop interfaces IDropTarget et IDataObject

Post 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.
Author of Total Commander
https://www.ghisler.com
jan@myriade.be
Junior Member
Junior Member
Posts: 3
Joined: 2019-08-01, 13:42 UTC

Re: drag and drop interfaces IDropTarget et IDataObject

Post by *jan@myriade.be »

Hi Christian,

I tried 9.22a installed in a new directory and we have the same problem.
Thank you.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: drag and drop interfaces IDropTarget et IDataObject

Post 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.
Author of Total Commander
https://www.ghisler.com
Post Reply