Using a progress bar and app is not responsive

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: UJ (UJ_at_nowhere.com)
Date: 02/11/05


Date: Fri, 11 Feb 2005 13:17:04 -0500

I didn't know where to put this so I first must appologize.

I have a long running process to I created a window with a progress bar and
cancel button on it. I open the window and update the progress bar as I do
my process. I have the cancel button set a member variable that I check
every loop of my process. If I run the process in the debugger and stop on
the cancel click event, I never get the event. I've even put a thread.sleep
in the loop to slow it down (for testing purposes) and also hoping that that
may cause the other events to get fired but it didn't work.

Anybody have any thoughts?

TIA

UJ.


Quantcast