Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now