Re: Wait / Busy Cursor
Re: Wait / Busy Cursor
- Subject: Re: Wait / Busy Cursor
- From: Scott Tooker <email@hidden>
- Date: Thu, 25 Apr 2002 10:23:22 -0700
the short answer is: you don't. The wait cursor is controlled by the Window Server and appears when you application doesn't respond to events for a given amount of time.
If you have to perform some intensive processing, you have two choices:
1) Have processing occur on a separate thread so your application is still accesible to the user
2) Put up a progress sheet or dialog to provide feedback to the user about what is happening
Scott
On Thursday, April 25, 2002, at 08:57 AM, Gokul Hegde wrote:
>
Hi everybody
>
>
Does any body know how we could show a wait / busy cursor (spinning cursor)
>
on a view.
>
>
I have searched the archives but could not find anything on this.
>
>
In one of my applications, I need to do some processing to load a
>
NSTableView. But while this is going on, the cursor remain as arrow and
>
tempts the user to click around. I need to avoid this by displaying a wait
>
cursor over the view. Any idea how I could do this in Cocoa? Is there a way
>
to get the wait / busy cursor as we get the 'arrow' or the 'IBeamCursor' in
>
NSCursor?
>
>
With regards
>
>
Gokul
>
>
>
--------------------------------------------------------------
>
Robosoft Technologies, Mangalore, India
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
>
Scott Tooker
QA & Integration - Project Builder
Mac OS X Development Environment
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.