Forcing dialog refresh

I have a routine that takes several minutes to process data, and along the way it displays messages in the dialog to indicate it is working.  The problem is that the messages dont display untill after the routine is finnished, when they display all at once.  Is there a dilog::redraw function of something similar that I can call to make the screen update after each of these messages?
Who is Participating?
chensuConnect With a Mentor Commented:
You can call InvalidateRect and UpdateWindow to force it update immediately.
All Courses

From novice to tech pro — start learning today.