• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Modal window is not made key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Re-Post: Modal window is not made key (From: Michael Becker <email@hidden>)

  • Prev by Date: what happened to this doc?
  • Next by Date: Re: what happened to this doc?
  • Previous by thread: Re-Post: Modal window is not made key
  • Next by thread: what happened to this doc?
  • Index(es):
    • Date
    • Thread