• 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: Nir Soffer <email@hidden>
  • Date: Sat, 9 Feb 2008 14:52:13 +0200


On Feb 9, 2008, at 04:50, cai qin wrote:

I got some wired things. Can someone give me some explanation ?

I got a Window A. I call [NSApp RunModalForWindow] to make it modal
Inside Window A's notification method , windowDidBecomeKey , I call [NSApp
abortModal] ,What I want to do is that not letting the window showing up.
But the window is still showing up as Modal window ,but when you switch the
app to others and then switch back , the window disappeared , and the Modal
stops.
Is this wired? I can't figure out why it acts like this?

What are you trying to do? why do you run a window modally if you don't want it to show?


Best Regards,

Nir Soffer

_______________________________________________

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: Show Image above Keynote presentation
  • Next by Date: Re: Problems getting NSURLConnection to work
  • Previous by thread: Re: wired things about NSApp Modal
  • Next by thread: Re: wired things about NSApp Modal
  • Index(es):
    • Date
    • Thread