• 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: does windowDidClose or not?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: does windowDidClose or not?


  • Subject: Re: does windowDidClose or not?
  • From: Ivan Kourtev <email@hidden>
  • Date: Sun, 16 Apr 2006 20:07:35 -0400

On Apr 16, 2006, at 5:32 PM, Ben Dougall wrote:
On Sunday, April 16, 2006, at 10:14 pm, j o a r wrote:
On 16 apr 2006, at 23.08, Ben Dougall wrote:
how can i know / get told when a particular window has closed? windowWillClose and windowShouldClose aren't quite what i'm after in this case.
This is a typical case of where we should ask you: "What are you really trying to do?"
do some things based on the user's input into the window (check boxes + text fields etc.). when the user closes the window that's when i want to go to work on the the info that the user has input. windowWillClose seems a bit too early. if a windowDidClose existed that'd be after all the editing has definitely finished.

thanks.

The way I understand it, when you receive windowWillClose, the editing _has_ finished. I haven't been involved in writing it, but I will guess that no more events will be dispatched to the window while executing the closing code (incl. sending the windowWillClose message). You can write a few lines of code to test this hypothesis, of course.


-- ivan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: does windowDidClose or not?
      • From: Ben Dougall <email@hidden>
References: 
 >Re: does windowDidClose or not? (From: Ben Dougall <email@hidden>)

  • Prev by Date: Printing resolution problems
  • Next by Date: Re: does windowDidClose or not?
  • Previous by thread: Re: does windowDidClose or not?
  • Next by thread: Re: does windowDidClose or not?
  • Index(es):
    • Date
    • Thread