Re: Modal window is not made key
Re: Modal window is not made key
- Subject: Re: Modal window is not made key
- From: Allan Odgaard <email@hidden>
- Date: Mon, 12 Apr 2004 22:14:06 +0200
On 12. Apr 2004, at 21:44, Michael Becker wrote:
[...] The window (oWindowServer) is displayed but _NOT_ made key. The
docs tell me not to invoke makeKeyAndOrderFront:, though. Furthermore,
the progress indicator is neither indeterminate nor animated. The code
(getData) is processed, though.
What am I doing wrong?
You are not calling runModalSession: in your loop.
Another question: In the window there's no button or any way for the
user to close it. It will only be closed when the load is complete. Is
this a reasonable behavior? What could happen in the worst case?
What do you mean? generally it is not nice not to allow the user to
abort a (long lasting) process -- but nothing can really happen, other
than the user selecting Force Quit if he wants to abort the action.
** Cocoa FAQ: <
http://www.alastairs-place.net/cocoa/faq.txt> **
_______________________________________________
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.