Re: Closing window with "red button"?
Re: Closing window with "red button"?
- Subject: Re: Closing window with "red button"?
- From: j o a r <email@hidden>
- Date: Tue, 31 Oct 2006 21:52:44 +0100
On 31 okt 2006, at 21.48, Marcus Pedersén wrote:
If I close my main window with "red button" (upper left corner),
how is that action implemented?
It calls the "-[NSWindow performClose:]" action method.
Asigned in the main menu I have a button for showing the window again.
I have tried makeKeyAndOrderFront: but that just make my app crash.
Is the window configured to "release when closed"? Check the
inspector in Interface Builder.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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