FROM : Francis Derive
DATE : Fri Jun 23 19:24:43 2006
Found some material at www.cocoadev.com with
- (void)canCloseDocumentWithDelegate:(id)delegate
shouldCloseSelector:(SEL)shouldCloseSelector contextInfo:(void *)
contextInfo.
Hope it helps.
On Jun 23, 2006, at 6:11 PM, Francis Derive wrote:
> La liste,
>
> When I click on the window top left close button because the
> document has been edited but not saved, an alert sheet is displayed
> to get a chance to save it : this is the material "provided for
> free" by the Cocoa framework.
> How do I customize this sheet ?
> This could be either to disable the Save... button ( because the
> document not having a "valid" content ), or acting on the
> implemention of the action of the Save... button so as to provide
> for the same content validation checking.
>
> Merci.
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/francisderive%
> 40mac.com
>
> This email sent to <email_removed>
DATE : Fri Jun 23 19:24:43 2006
Found some material at www.cocoadev.com with
- (void)canCloseDocumentWithDelegate:(id)delegate
shouldCloseSelector:(SEL)shouldCloseSelector contextInfo:(void *)
contextInfo.
Hope it helps.
On Jun 23, 2006, at 6:11 PM, Francis Derive wrote:
> La liste,
>
> When I click on the window top left close button because the
> document has been edited but not saved, an alert sheet is displayed
> to get a chance to save it : this is the material "provided for
> free" by the Cocoa framework.
> How do I customize this sheet ?
> This could be either to disable the Save... button ( because the
> document not having a "valid" content ), or acting on the
> implemention of the action of the Save... button so as to provide
> for the same content validation checking.
>
> Merci.
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/francisderive%
> 40mac.com
>
> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Francis Derive | Jun 23, 18:11 | |
| Francis Derive | Jun 23, 19:24 |






Cocoa mail archive

