drag and drop interfaces IDropTarget et IDataObject

Please report only one bug per message!

Moderators: Stefan2, white, sheep, Hacker

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 » 2019-08-01, 13:46 UTC

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: 663
Joined: 2003-03-27, 16:33 UTC

Re: drag and drop interfaces IDropTarget et IDataObject

Post by *CoolWater » 2019-08-02, 12:49 UTC

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 » 2019-08-02, 13:12 UTC

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: 37555
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: drag and drop interfaces IDropTarget et IDataObject

Post by *ghisler(Author) » 2019-08-05, 14:02 UTC

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
http://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 » 2019-08-05, 15:46 UTC

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: 37555
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: drag and drop interfaces IDropTarget et IDataObject

Post by *ghisler(Author) » 2019-08-08, 09:33 UTC

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
http://www.ghisler.com

Post Reply