FROM : Veena Mayya
DATE : Mon Jan 07 08:05:22 2008
Thanks David.
Actually we don't want to disable the close button, during the launch
of the application. Even if we do so, the "close" button gets enabled
soon after putting the authentication dialog. (in 10.5)
The button remains enabled, even if we try to disable it.(using
[[appMainWindow standardWindowButton:NSWindowCloseButton]
setEnabled:NO];).
Veena
On 05-Jan-08, at 1:00 PM, <email_removed> 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
>
-----------------------------------------------
Robosoft Technologies - Come home to Technology
Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.
DATE : Mon Jan 07 08:05:22 2008
Thanks David.
Actually we don't want to disable the close button, during the launch
of the application. Even if we do so, the "close" button gets enabled
soon after putting the authentication dialog. (in 10.5)
The button remains enabled, even if we try to disable it.(using
[[appMainWindow standardWindowButton:NSWindowCloseButton]
setEnabled:NO];).
Veena
On 05-Jan-08, at 1:00 PM, <email_removed> 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
>
-----------------------------------------------
Robosoft Technologies - Come home to Technology
Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.
| Related mails | Author | Date |
|---|---|---|
| Veena Mayya | Jan 4, 07:06 | |
| John Stiles | Jan 4, 07:36 | |
| Veena Mayya | Jan 4, 10:33 | |
| David Orriss Jr | Jan 5, 04:58 | |
| Veena Mayya | Jan 7, 08:05 | |
| David Orriss Jr | Jan 8, 07:27 | |
| Veena Mayya | Jan 9, 05:25 | |
| Lee Ann Rucker | Jan 10, 02:42 |






Cocoa mail archive

