The API function CopyFileEx has a callback function for displaying progress.
The other way to do it to open a FileStream on source and on target and copy
between them yourself - you can track progress as you go.
Wes Edwards
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Mason, John
> Sent: Friday, 15 December 2000 11:02
> To: Multiple recipients of list delphi
> Subject: Re: [DUG]: Progress while copying files
>
>
> If you use SHFileOperation doesn't the standard Windows animated
> progress bar show automatically?
>
>
> > Colin Dillicar wrote:
> >
> > Hi all,
> >
> > Copying files in Delphi is not a problem. Showing the progress
> of the copying on a progress bar seems to be more difficult.
> >
> > If any of you can properly describe the process I'd be delighted.
> >
> > Cheers and Merry Xmas
> >
> > Colin
> >
>
> --
> John Mason
> Sinclair Knight Merz Limited
>
>
>
> ------------------------------------------------------------------
> ---------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"