?
Solved

C# Cursor wait

Posted on 2010-11-15
3
Medium Priority
?
556 Views
Last Modified: 2013-12-17

Hi Friends,
Can you please tell me what  does this    means.I mean what it does.

   this.Cursor = Cursors.WaitCursor;

Thankyou
0
Comment
Question by:N_Sri
  • 2
3 Comments
 
LVL 17

Expert Comment

by:Daniel Reynolds
ID: 34140846
It changes the screen cursor that is usually an arrow to the hourglass or "wait" cursor.

0
 
LVL 17

Accepted Solution

by:
Daniel Reynolds earned 2000 total points
ID: 34140871
When I start a process, I like to keep the user informed that I am doing something by giving them a visual cue.

The visual cue will usually include setting the cursor as in mouse cursor to the hourglass also known as the waitcursor. In windows 7 it is a circular cursor showing action is happening.

Once done I set the cursor back to the default with the following statement.

this.Cursor = Cursors.Default;
0
 

Author Closing Comment

by:N_Sri
ID: 34140892
Thankyou
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Loops Section Overview
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question