PC Review


Reply
Thread Tools Rate Thread

UseWaitCursor

 
 
PK
Guest
Posts: n/a
 
      21st Dec 2007
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.

 
Reply With Quote
 
 
 
 
RobinS
Guest
Posts: n/a
 
      14th Jan 2008
Are you setting the WaitCursor to false in the WorkCompleted event?

RobinS.
---------------------------------
"PK" <(E-Mail Removed)> wrote in message
news:bcd72129-e37e-4f16-a780-(E-Mail Removed)...
> 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.
>


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
winforms data fields and UseWaitCursor Property question parez Microsoft C# .NET 0 3rd Apr 2008 07:42 PM
Are all threads in an application affected by Application.UseWaitCursor Academia Microsoft VC .NET 8 7th Dec 2007 03:20 PM
Does Application.UseWaitCursor affect all threads in an application Academia Microsoft C# .NET 9 6th Dec 2007 08:49 PM
Does Application.UseWaitCursor Property actually apply to all threads in the application? Academia Microsoft VB .NET 2 3rd Dec 2007 04:00 PM
UseWaitCursor confusion Rick Microsoft VB .NET 0 11th Jan 2007 04:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:54 PM.