Drag and Drop (But in reverse...)

BlitzMax Forums/BlitzMax Programming/Drag and Drop (But in reverse...)

SebHoll(Posted 2005) [#1]
Hi,

Does anybody know how to drag and drop files *from your application* to an Explorer window. E.g. drag a file from a list box to an open Windows Explorer folder and the file would be copied (or moved) into it. I can't find any information about how you'd go about doing this anywhere on the web but it must be possible. - How have all those FTP programs managed to provide the functionality in their programs?

Anyone got any clues/ideas about this?

Thanks

Seb

P.S. I suppose it would be a lot harder than the normal direction. You'd have to somehow allow Windows to drag onto a folder first, then you'd have to retreive the path that the file was dropped on, then you'd have to copy the file that the list item represents from its current location to the new path.