Article View: borland.public.cppbuilder.nativeapi
Article #4997Re: Dragging from application to explorer part 2
From: Remy Lebeau (TeamB)
Date: Tue, 25 Oct 2005 00:23
Date: Tue, 25 Oct 2005 00:23
23 lines
2082 bytes
2082 bytes
"Stefano Bonifazi" <stefboombastic@libero.it> wrote in message news:435d36e3@newsgroups.borland.com... > Now I would like to drag the "file list" to the windows explorer > wishing it to copy all the files in the list to the folder I dropped > them into ... Try including the the CFSTR_FILEGROUPDESCRIPTOR/CFSTR_FILECONTENTS and/or CFSTR_SHELLIDLIST formats as well. Alternatively, the only way to get notified of which folder is being dropped onto is to install a Copy Hook Shell Extension. When you perform the drag/drop, create a temporary folder first and place its path into the HDROP structure instead of the actual filenames. The shell will think that you are dropping an entire folder, and thus it will try to copy/move the folder accordingly. When the copy hook is invoked, it can then determine which target folder is involved, then cancel the entire drop operation and communicate the target folder back to your application, and finally you can then copy your files into the target folder manually. Gambit
Technical Details
Message-ID:
<435d7a7e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<435cfa68@newsgroups.borland.com> <435d1eac$1@newsgroups.borland.com> <435d36e3@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,69ce42933ddd83bf X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <435cfa68@newsgroups.borland.com> <435d1eac$1@newsgroups.borland.com> <435d36e3@newsgroups.borland.com> Subject: Re: Dragging from application to explorer part 2 Date: Mon, 24 Oct 2005 17:23:44 -0700 Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <435d7a7e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1130199678 68.69.17.41 (24 Oct 2005 17:21:18 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail