• 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: Prevent a window closing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prevent a window closing


  • Subject: Re: Prevent a window closing
  • From: "Laurent Daudelin" <email@hidden>
  • Date: Tue, 23 Dec 2003 10:55:01 -0500

On 23/12/03 10:34, "Roberto" <email@hidden> wrote:

> How can I prevent a Window Closing?
> I would like to make a NSPanel appear before the main window is closing.

Have the window delegate object implement 'windowShouldClose:' and return
NO.

-Laurent.
--
========================================================================
Laurent Daudelin Developer, Multifamily, ESO, Fannie Mae
mailto:email@hidden Washington, DC, USA
************************ Usual disclaimers apply ***********************
_______________________________________________
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: 
 >Prevent a window closing (From: Roberto <email@hidden>)

  • Prev by Date: Re: Database Application with Obj-C -> Valentina Database
  • Next by Date: Re: Database Application with Obj-C --> Valentina database
  • Previous by thread: Prevent a window closing
  • Next by thread: WebKit problem
  • Index(es):
    • Date
    • Thread