I am not sure about your code but you should put following code in constructor or init method,
m_progress.SetRange(0,100);
m_progress.SetPos(0);
and StepIt() in a timer procedure,
m_progress.StepIt()
__avd
Posting Genius (adatapost)
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
What functions are you using to do the copying? win32 api CopyFileEx() will call your function for each portion of the file that has been copied, allowing it to update the progress bar.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343