Re: Window close button issue in Leopard
Re: Window close button issue in Leopard
- Subject: Re: Window close button issue in Leopard
- From: David Orriss Jr <email@hidden>
- Date: Fri, 4 Jan 2008 19:58:49 -0800
On Jan 4, 2008, at 1:33 AM, Veena Mayya wrote:
Thanks John.
We have already handled the delegate method. But this won't solve
the UI issue . We want to disable the red "close" button itself.
Veena,
That's actually pretty easy to do. You just disable the "Close"
button in the Window Attributes of NIB. While I don't think it's
considered "proper" to send images to the list here's a link to a
screenshot from NIB 3 showing this:
http://img517.imageshack.us/my.php?image=disablecloseke0.png
That said.. I don't know that this is a really good design idea.
Certainly in other GUI environments it's more 'proper' to tell the
user why the close of the application is being stopped rather than to
simply block it.
Just my US$0.02 (not worth as much as it used to be I know, but still).
--
David Orriss Jr.
My blog: http://www.codethought.com/blog
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden