Drag and drop files

Off-topic posts of interest to the "Everything" community.
Post Reply
NotNull
Posts: 1441
Joined: Wed May 24, 2017 9:22 pm

Drag and drop files

Post by NotNull » Mon Oct 07, 2019 11:02 pm

The file manager I use the most - Q-Dir - does not function as a drop target when Everything is the source.
That is hardly Everything's fault; Q-Dir has trouble with multiple file managers (see screenshot)

Before reporting this issue with it's developer, I would like to know what API / method / ... Everything uses for dragging files.
That way it would be much easier to find a solution (at least that is what I hope).


2019-10-08 01_00_21-dragdrop.ods - LibreOffice Calc.png
You do not have the required permissions to view the files attached to this post.

void
Site Admin
Posts: 4874
Joined: Fri Oct 16, 2009 11:31 pm

Re: Drag and drop files

Post by void » Mon Oct 07, 2019 11:11 pm

Everything uses the IDropSource interface.

Everything implements its own IDropSource interface.
An IDataObject is created with CF_HDROP data of all the source files and folders.
DoDragDrop is called to begin the drag drop operation.
The default IDragSourceHelper is used to create the drag image.

NotNull
Posts: 1441
Joined: Wed May 24, 2017 9:22 pm

Re: Drag and drop files

Post by NotNull » Mon Oct 07, 2019 11:38 pm

Thank you !!!

Post Reply