Whether I have to use a dialog box or a message doesn’t really matter but I need to somehow do the following:
I’ve got a dialog-based MFC application. The main dialog calls a procedure that creates a thread. The call to the procedure is inside while loop. (Basically it’s a file processing program – spawning off a thread for doing the file saving. So, a thread is spawned for each file that is being saved.)
I am suspending and resuming the main thread properly. However, I don’t know how to get a message box/dialog box to display saying something like “please wait” and still have the main dialog update… 0.o
Basically, I want to lock the main dialog from user interaction (like keeping them from selecting anything or clicking any buttons), but I want the progress bar on the dialog to update…
Any ideas?
A bit old but does the work:
microsoft.com/msj/0297/wicked/wicked0297.aspx