Re: "You can create a window on a secondary thread."
Re: "You can create a window on a secondary thread."
- Subject: Re: "You can create a window on a secondary thread."
- From: "Pontus Ilbring" <email@hidden>
- Date: Tue, 6 Mar 2007 21:16:36 +0100
On 3/6/07, Jerry Krinock <email@hidden> wrote:
My app downloads data from a server, which can take a long time or fail, so
I want a custom Progress Dialog (progress bar, some text and a "Cancel"
button).
There is ample documentation and disussion explaining how to run such a long
task in a secondary thread. But in my case the app cannot continue until
the downloaded data is processed; I therefore ^do^ want the app to block
during the download, except that my "Cancel" button must be responsive.
Have you considered using a modal session, or a modal window?
See How Modal Windows Work in
http://developer.apple.com/documentation/Cocoa/Conceptual/WinPanel/index.html
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden