On 9 Jan, 2013, at 6:11, Oleg Krupnov <oleg.krup...@gmail.com> 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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com