App not responding -
11-17-2006
, 04:31 PM
New to Visual C++ 2005 Express from Visual Studio 6 (MFC).
I have created a Windows Form application that does a long calculation. It
has a progress bar and works well as long as it does not lose focus and is
not minimized. It it is, it continues to function (the window indicates "Not
Responding" as does the task manager) but the display is frozen, including
the progress bar, when the window is normalized. It stays that way until the
calculation is complete, then displays the result normall.
I have included a call to the Form Activate event wherein I have calls to
Invalidate and Update the form, but that does not help.
Suggestions?
Thanks.
Thomas |