Skip navigation.
 
mlRe: Window close button issue in Leopard
FROM : David Orriss Jr
DATE : Sat Jan 05 04:58:49 2008

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

Related mailsAuthorDate
mlWindow close button issue in Leopard Veena Mayya Jan 4, 07:06
mlRe: Window close button issue in Leopard John Stiles Jan 4, 07:36
mlRe: Window close button issue in Leopard Veena Mayya Jan 4, 10:33
mlRe: Window close button issue in Leopard David Orriss Jr Jan 5, 04:58
mlRe: Window close button issue in Leopard Veena Mayya Jan 7, 08:05
mlRe: Window close button issue in Leopard David Orriss Jr Jan 8, 07:27
mlRe: Window close button issue in Leopard Veena Mayya Jan 9, 05:25
mlRe: Window close button issue in Leopard Lee Ann Rucker Jan 10, 02:42