Copy files and directories with progress Dlg
-
Does anyone know how to display the copy progress dialog box? Chris Maunder and Michael Dunn's dialog wrapper both look very good: http://www.codeproject.com/miscctrl/#Progress Controls But I do not know how to implement it with progress... I am using CFileFind and CFileFind::FindNextFile( ) to find the source files. I use ::CopyFile( ) to copy files, which can only copies 1 file at a time. Thus I have no way of finding out total # of files or total copying size. Help!?? Thanks.
-
Does anyone know how to display the copy progress dialog box? Chris Maunder and Michael Dunn's dialog wrapper both look very good: http://www.codeproject.com/miscctrl/#Progress Controls But I do not know how to implement it with progress... I am using CFileFind and CFileFind::FindNextFile( ) to find the source files. I use ::CopyFile( ) to copy files, which can only copies 1 file at a time. Thus I have no way of finding out total # of files or total copying size. Help!?? Thanks.
You can use SHFileOperation. It'll not only show the copy-progress bar, but is also recycle-bin-aware Nish
Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
-
Does anyone know how to display the copy progress dialog box? Chris Maunder and Michael Dunn's dialog wrapper both look very good: http://www.codeproject.com/miscctrl/#Progress Controls But I do not know how to implement it with progress... I am using CFileFind and CFileFind::FindNextFile( ) to find the source files. I use ::CopyFile( ) to copy files, which can only copies 1 file at a time. Thus I have no way of finding out total # of files or total copying size. Help!?? Thanks.