Article View: borland.public.cppbuilder.nativeapi
Article #11013Re: Delete a file to Recycle Bin
From: Martin Golm
Date: Thu, 04 Mar 2004 08:46
Date: Thu, 04 Mar 2004 08:46
15 lines
1611 bytes
1611 bytes
Mario Sernicola wrote: > > Isn't a good solution. I want alert message to appear once, and I don't want > to use SILENT option In that case SHFILEOPSTRUCT.pFrom should look like this: "filename.1\0filename.2\0filename.3\0...\0filename.n\0\0" Note that if you do it that way, SHFileOperation will most probably stop at the first file that could not be deleted. Remy's approach will delete all files that can be deleted - with the drawback that it issues an error message for each file that couldn't. Martin
Technical Details
Message-ID:
<4046ECF6.D92243F4@gmx.de>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4045ec37@newsgroups.borland.com> <4045f7da@newsgroups.borland.com> <4046024e@newsgroups.borland.com> <4046092a@newsgroups.borland.com> <40463c2d@newsgroups.borland.com> <40468126$1@newsgroups.borland.com> <4046dd24@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,820b8d6a3def1656 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-03-04 01:09:34 PST Message-ID: <4046ECF6.D92243F4@gmx.de> Date: Thu, 04 Mar 2004 09:46:46 +0100 From: Martin Golm <golm@gmx.de> X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Delete a file to Recycle Bin References: <4045ec37@newsgroups.borland.com> <4045f7da@newsgroups.borland.com> <4046024e@newsgroups.borland.com> <4046092a@newsgroups.borland.com> <40463c2d@newsgroups.borland.com> <40468126$1@newsgroups.borland.com> <4046dd24@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 62.158.111.97 X-Trace: newsgroups.borland.com 1078390180 62.158.111.97 (4 Mar 2004 00:49:40 -0800) Lines: 17 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail