Solved

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

Posted on 2006-11-10
4
238 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
 

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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

695 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