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
Solved

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

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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 cmd execution 6 66
How to renew a Delphi rad-studio licence? 5 69
Adoquery sql  left join does not work 25 98
Twebbrowser add css to the header 3 27
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

765 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