Know IDataObject's target

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all!
I have an IDataObject which deals with retrieving files from another machine
and then moving them to the target specified by Explorer. I specify only
CF_HDROP as supported clipboard format. I copy the files to the temporary
directory and then let Explorer move them by specifying the target directory
- i.e. an Explorer window!
Is there a way to know what is the target folder, i.e. the one receiving the
'drop' or 'paste' event? In this way, I could move the files to a temporary
folder but on the actual target drive, thus saving some time when Explorer
moves the files to the target folder!
Thank you for your help!
 
Please... isn't there anyone who knows at least WHETHER it's possible or not?
:(
 
tilluf said:
Please... isn't there anyone who knows at least WHETHER it's possible or
not?
:(

Since the drop target may not correspond to a local directory, it's unlikely
that any standardized method exists for getting the drop directory.
Remember you have to deal with Web Folders, CD writing, network shares,
compressed archives, third-party namespace extensions such as backup
programs, etc. And that's all assuming that the user dropped the file on
explorer and there even is a PIDL for the target. But other applications
can accept shell drag&drop as well.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top