• 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: Any way to tell why a window is closing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any way to tell why a window is closing?


  • Subject: Re: Any way to tell why a window is closing?
  • From: Randall Meadows <email@hidden>
  • Date: Mon, 21 Sep 2009 09:31:33 -0600

On Sep 21, 2009, at 9:15 AM, Scott Ribe wrote:

Within -windowWillClose, I need to know whether or not the user clicked the
close button on the window.

I think you can get the instance of the button, can't you? Then set a custom action on it.


_______________________________________________

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: Any way to tell why a window is closing?
      • From: Scott Ribe <email@hidden>
References: 
 >Any way to tell why a window is closing? (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: Optimizing Enormous lists in NSBrowser
  • Next by Date: Re: Help needed with orientation to bindings
  • Previous by thread: Re: Any way to tell why a window is closing?
  • Next by thread: Re: Any way to tell why a window is closing?
  • Index(es):
    • Date
    • Thread