Re: Knowing when window closed
Re: Knowing when window closed
- Subject: Re: Knowing when window closed
- From: Charles Bennett <email@hidden>
- Date: Tue, 30 Jul 2002 08:27:19 -0400
Aidas wrote:
Hi,
I want to know and handle closing of two windows called "first" and
"second". How could I do this? If you can please add example too.
Thank you
Aidas
_______________________________________________
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.
This is not a flame, but rather than produce an example, I think in this case that it's important
for you to learn about delegate methods, notifications and how to read the
documentation. How to deal with a window closing is actually in the
NSWindow class documentation. Hint: Pull up the doc's on NSWindow and search for the word 'close'.
Depending on what you are trying to do, NSWindowController might be a good place to look too.
If you are having trouble with such fundamtal questions then
I'd suggest either Cocoa Programming for Mac OS X by Hillegass
and/or Building Cocoa Applications by Garfinkel and Mahoney IMHO both books
are pretty good for getting started.
Chuck
--
UPS Management software for OS X
http://www.powerguardian.com
_______________________________________________
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.