• 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: sheet not receiving all events?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sheet not receiving all events?


  • Subject: Re: sheet not receiving all events?
  • From: Torsten Curdt <email@hidden>
  • Date: Sat, 17 Sep 2011 18:25:32 +0200

On Sat, Sep 17, 2011 at 6:15 PM, Scott Ribe <email@hidden> wrote:
> On Sep 17, 2011, at 10:01 AM, Torsten Curdt wrote:
>
>> Not sure I understand that comment, Scott.
>
> You run it as a sheet, using beginSheetModal..., or you run it as a modal dialog using runModal. You can't do both.

Copying from the docs at
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Sheets/Tasks/UsingAppModalDialogs.html

    [NSApp beginSheet: myCustomDialog
            modalForWindow: window
            modalDelegate: nil
            didEndSelector: nil
            contextInfo: nil];
    [NSApp runModalForWindow: myCustomDialog];

You are suggesting that this is not OK?

cheers,
Torsten
_______________________________________________

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: sheet not receiving all events?
      • From: Scott Ribe <email@hidden>
References: 
 >sheet not receiving all events? (From: Torsten Curdt <email@hidden>)
 >Re: sheet not receiving all events? (From: Jens Alfke <email@hidden>)
 >Re: sheet not receiving all events? (From: Torsten Curdt <email@hidden>)
 >Re: sheet not receiving all events? (From: Scott Ribe <email@hidden>)
 >Re: sheet not receiving all events? (From: Torsten Curdt <email@hidden>)
 >Re: sheet not receiving all events? (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: sheet not receiving all events?
  • Next by Date: Re: sheet not receiving all events?
  • Previous by thread: Re: sheet not receiving all events?
  • Next by thread: Re: sheet not receiving all events?
  • Index(es):
    • Date
    • Thread