Solved

How to get the target location of a drag and drop from a delphi application to explorer?

Posted on 2006-11-10
4
237 Views
Last Modified: 2010-05-18
Hi all,

I am currently developping an application on which I have to manage the drag and drop.

My question is: How to get the target location of a drag and drop from a delphi application to windows' explorer? i.e if the target is the windows desktop, i have to get 'c:\documents and settings\user\desktop'
0
Comment
Question by:KCTeam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 

Author Comment

by:KCTeam
ID: 17930198
No One can't help me??
0
 
LVL 4

Expert Comment

by:Meldrachaun
ID: 17954202
0
 

Author Comment

by:KCTeam
ID: 17954245
That is the documentation to do a drag-and-drop file copy, but it doesn't give me the path of the destination folder...

I search the target folder location of a drag and drop from my application to the shell to do some pre-process operation.
0
 
LVL 4

Accepted Solution

by:
Meldrachaun earned 500 total points
ID: 17961483
I've not done this before, but if I were writing an app to do what you are doing, this is where I would start.  Obviously you can't drop something onto the desktop that's not a file, but from the digging I was doing on the above link, I don't think it has to be an existing file that you are dragging.  It looked like it has all the info you need.  Unfortunately none of the Windows API stuff is nearly as simple as Delphi, that's why we have Delphi.  There appeared to be info about windows messages, COM object structures, etc, that could be used to specify what you are doing.  If it's not in there, I don't know where to point you, but I would do some digging in there before you give up on it.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delphi Firemonkey Need Sample for Online Shopping Example. 2 210
Convert MS Word document to a PDF file 9 130
DBCtrlGrid, Delphi, Scroll 8 80
DBCtrlGrid, Delphi, Scroll 7 34
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question