Click to See Complete Forum and Search --> : What is the ideal way to do this?


hiltonc
April 23rd, 1999, 11:53 AM
What would be the ideal way of doing this:

I want my app to display a dialog (modal) and then perform processing in the main window (the dialog is simply to let them know what's happening and allow them to click cancel). When the dialog is closed, terminate the processing. Also, as the processing occurs, I need the main window updated because it's contents are going to be changed. I know I need to use thread some how, but my current setup isn't working very well.

Mike Weber
April 23rd, 1999, 12:00 PM
You can do it with a thread or use SetTimer and handle the WM_TIMER. To stop the processing, use KillTimer. Hope this helps.