download progress (threads)
Posted on 2003-10-23
i have a function in my Dialog-based MFC app that checks for updates
//pUpdateDlg is the child dialog has the progress bar
for (int x = 0; x < num_updatedfiles; x++)
//function that downloads the updated file
m_Ftp->GetFile(strFile[x], strFile[x], FALSE, ...);
well problem is =\ the progress bar doesn't move (the whole dialog doesn't refresh) so i'm gonna have to use Threads so the progress bar moves after each file download.
i don't know much about how to use um.. anyone got any ideas?
tried using the ones on CodeProject but i guess i'm just a newbie n dunno how to use them =p