When my main MDI form is loaded, I use a backgroundworker component to
do some work.When the worker starts, I set this.WaitCursor = true.
When the work is completed, I set this.WaitCursor = false. But, still
the WaitCursor remains...but if I move the mouse, it changes back to
normal arrow.
I have used this even earlier, but never in the main form. Why is this
happening?
I have tried invalidating, refreshing...but nothing works.
Has anyone else faced this problem.
-Thanks.
RobinS - 14 Jan 2008 03:51 GMT
Are you setting the WaitCursor to false in the WorkCompleted event?
RobinS.
---------------------------------
> When my main MDI form is loaded, I use a backgroundworker component to
> do some work.When the worker starts, I set this.WaitCursor = true.
[quoted text clipped - 9 lines]
>
> -Thanks.