Re: How to enable the close window button while showing a modal sheet?
Re: How to enable the close window button while showing a modal sheet?
- Subject: Re: How to enable the close window button while showing a modal sheet?
- From: Jim McGowan <email@hidden>
- Date: Thu, 10 Jan 2013 09:25:33 +0800
On 9 Jan, 2013, at 6:11, Oleg Krupnov <email@hidden> wrote:
> I don't want to start a HIG flame on this, but just want to know if
> it's technically possible to enable the close button of a window while
> showing a modal sheet (NSApp beginSheet:modalForWindow:…) on it?
The answer is in the documentation for that method:
"While the application is in the run loop, it does not respond to any other events (including mouse, keyboard, or window-close events) unless they are associated with the sheet."
Jim
_______________________________________________
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