• 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
Document Modal option for NSPanel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Document Modal option for NSPanel


  • Subject: Document Modal option for NSPanel
  • From: "Devraj Mukherjee" <email@hidden>
  • Date: Tue, 22 Jan 2008 22:50:41 +1100

Hi everyone,

I have an NSPanel in my Nib file that is connect to an instance of a
class that handles the various events. I use an instance of a
NSWindowController to show the Window.

I now wish this Panel to be modal so the user must make a choice using
the elements on the Panel and the application waits for the Panel to
close. All of this seems to work, except that the Panel doesn't seem
to be destroyed or marked in an non modal position until another
Window/Panel is loaded. I am shutting the Panel using the "Close"
button on the panel.

Any guesses on what might be going wrong?

Thanks a lot.

--
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
_______________________________________________

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: Document Modal option for NSPanel
      • From: "Hamish Allan" <email@hidden>
  • Prev by Date: Re: Leopard - interaction with Spaces from own applications
  • Next by Date: Re: Carbon-Cocoa Integration: Linking issue
  • Previous by thread: Re: NSAppleEventDescriptor - getting a double (and other animals)
  • Next by thread: Re: Document Modal option for NSPanel
  • Index(es):
    • Date
    • Thread