Re: Hide a window on close?
Re: Hide a window on close?
- Subject: Re: Hide a window on close?
- From: j o a r <email@hidden>
- Date: Thu, 14 Sep 2006 20:27:38 +0200
On 14 sep 2006, at 20.21, Craig Dooley wrote:
I was able to get the behavior I was looking for with
- (BOOL)windowShouldClose:(id)sender {
[[NSApplication sharedApplication] hide:self];
return NO;
}
That's not matching the behaviour of the applications that you cited,
but perhaps it's a better behaviour? It's quite likely that if your
users close the window, they're about to leave your application in
any case.
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