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

wired things about NSApp Modal


  • Subject: wired things about NSApp Modal
  • From: "cai qin" <email@hidden>
  • Date: Fri, 8 Feb 2008 18:50:25 -0800

Hi all ,
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?
_______________________________________________

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

  • Follow-Ups:
    • Re: wired things about NSApp Modal
      • From: Jens Alfke <email@hidden>
    • Re: wired things about NSApp Modal
      • From: Nir Soffer <email@hidden>
    • Re: wired things about NSApp Modal
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: newbie alert: i'm confused: The XCode Quick Tour Guide
  • Next by Date: Re: newbie alert: i'm confused: The XCode Quick Tour Guide
  • Previous by thread: Re: newbie alert: i'm confused: The XCode Quick Tour Guide
  • Next by thread: Re: wired things about NSApp Modal
  • Index(es):
    • Date
    • Thread