• 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: wired things about NSApp Modal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wired things about NSApp Modal


  • Subject: Re: wired things about NSApp Modal
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 8 Feb 2008 20:00:42 -0800


On 2008 Feb, 08, at 18:50, cai qin wrote:

Is this wired? I can't figure out why it acts like this?

I'm not sure I understand you 100%, but it sounds like maybe the code containing -abortModal is not running because the app is in a modal state from which it does not recover until you switch to another app. Use an NSLog() to confirm that.


Of course, what is really weird is that you are sending - runModalForWindow: specifying a window that you do not want to show. I would suggest not showing (running modal) the window in the first place, then you would not have to worry about getting rid of it in the second place.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please 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


References: 
 >wired things about NSApp Modal (From: "cai qin" <email@hidden>)

  • Prev by Date: What's the replacement for GetMBarHeight?
  • Next by Date: Problems getting NSURLConnection to work
  • Previous by thread: wired things about NSApp Modal
  • Next by thread: Re: wired things about NSApp Modal
  • Index(es):
    • Date
    • Thread