Question about no response of main Form



Hi all,

I ran into a headache problem. I have a windows form with a progress
bar on it. Then I new a thread to do calculation for a long time. I
want the progress bar to show the calculation progress. So I use a
shared variable in calculation thread to allow main thread read it
periodically in order to show the progress. Quesion comes out. If I
just wait and don't make any operation during the whole calculation,
the main form is OK, with progress bar increased step by step. But If
I click other application or just drag the form, main form will have
no response until the calculation finished. At first I think that
maybe the calculation is too tight to be a circle. So I add several
sleep() in it. But this method is of no use. I have no idea this time.
Anybody can help me? Thanks in advance!

.



Relevant Pages

  • Re: Prevent BCWP from adding to ACWP. Non autocalc.
    ... completed work before the progress line and uncompleted work after the status ... This would allow a very straightforward calculation of Work Performed, ... I need to be able to enter actual costs not calculated actual ... end of the project with the status line to accumulate all BCWP. ...
    (microsoft.public.project)
  • Re: progress meter for Calculation?
    ... the calculation is only done once if the results are not an error. ... put the actual cost amounts, and that's where the trouble really comes in. ... I'm sure the indomitable Captain Pausert ... I see lots of progress meters out there for monitoring the progress ...
    (microsoft.public.excel.misc)
  • Re: Progress Forward of Status
    ... What happens if you try it with your calculation set to automatic? ... When I F9 to cacluate I still have progress forward of the status ... I am using a simple %complete tracking method and can not figure ...
    (microsoft.public.project)
  • progress meter for Calculation?
    ... I know that the status bar indicates what percentage of cells have been ... We have a couple of very large spreadsheets, however, that can ... have complained that they want progress to be clearly and largely ... calculation. ...
    (microsoft.public.excel.misc)
  • Re: progress meter for Calculation?
    ... but I can't get around a series of SUMPRODUCT formulas that appear in many ... how to speed up Excel calculation. ... have complained that they want progress to be clearly and largely ... displayed--apparently looking at the staus bar is too hard. ...
    (microsoft.public.excel.misc)