FROM : j o a r
DATE : Sat Jan 18 19:05:04 2003
You should listen for the NSWindowWillCloseNotification. If the window
has a delegate, it will get called with the "windowWillClose:" method
if implemented - it doesn't even have to sign up for the notification
explicitly. See the documentation for NSWindow (surprise...) and
NSNotificationCenter.
j o a r
On Saturday, Jan 18, 2003, at 18:50 Europe/Stockholm, Matis Schotte
wrote:
> Which function is called when a window closes? i will bring up a
> save/dont save dialog when a NSWindow closes by the user ...
> thx for answers!! :)
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Sat Jan 18 19:05:04 2003
You should listen for the NSWindowWillCloseNotification. If the window
has a delegate, it will get called with the "windowWillClose:" method
if implemented - it doesn't even have to sign up for the notification
explicitly. See the documentation for NSWindow (surprise...) and
NSNotificationCenter.
j o a r
On Saturday, Jan 18, 2003, at 18:50 Europe/Stockholm, Matis Schotte
wrote:
> Which function is called when a window closes? i will bring up a
> save/dont save dialog when a NSWindow closes by the user ...
> thx for answers!! :)
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Matis Schotte | Jan 18, 18:50 | |
| j o a r | Jan 18, 19:05 | |
| Shaun Wexler | Jan 18, 19:05 | |
| mw | Jan 18, 19:20 | |
| Shaun Wexler | Jan 18, 19:42 | |
| Lachlan Deck | Jan 18, 21:10 | |
| Shaun Wexler | Jan 18, 22:06 | |
| Matis Schotte | Jan 18, 22:29 | |
| Daryn | Jan 19, 04:11 |






Cocoa mail archive

