When i issue SHFILEOPERATION function for copy file/folder,
how can i know the actual progress value of the process rather than popup the simpleprogress dialog offered from the SHFILEOPERATION?
I don't believe you can get that information. You would have to write your own function to do it. It should be very simple though. The only time you need a progress bar is when there is a large amount of files involved, so there has to be a loop from 0 to the number of files to process built into your function. Just set your Progress variable to part/whole. (float)#files_processed/#files. Then if you use a TProgressBar, you can set it's Position to your Progress variable.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.