J
Jakanapes
Is it possible to suspend the background worker without cancelling it
or letting it finish and restarting?
My application runs in a loop and I'd like to have a pause button, but
I'm having trouble getting it to work.
I tried to create a loop based on a variable that gets set to false
when pause is pressed so the worker will finish working, and then call
the backgroundWorker1->RunWorkerAsync() again, but this doesn't seem to
work. I check the IsBusy flag, but my app locks up.
Any ideas?
or letting it finish and restarting?
My application runs in a loop and I'd like to have a pause button, but
I'm having trouble getting it to work.
I tried to create a loop based on a variable that gets set to false
when pause is pressed so the worker will finish working, and then call
the backgroundWorker1->RunWorkerAsync() again, but this doesn't seem to
work. I check the IsBusy flag, but my app locks up.
Any ideas?