• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to enable the close window button while showing a modal sheet?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How to enable the close window button while showing a modal sheet?
      • From: Uli Kusterer <email@hidden>
  • Prev by Date: Cocoaheads Lake Forest meets tonight
  • Next by Date: Re: How to enable the close window button while showing a modal sheet?
  • Previous by thread: How to enable the close window button while showing a modal sheet?
  • Next by thread: Re: How to enable the close window button while showing a modal sheet?
  • Index(es):
    • Date
    • Thread