• 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 in a non-document-based Application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sheet in a non-document-based Application


  • Subject: Re: Sheet in a non-document-based Application
  • From: Torsten Trautwein <email@hidden>
  • Date: Sun, 12 Mar 2006 19:35:43 +0100

Maybe I don't get your point as I'm fairly new to Cocoa programming, but
that part is straight out of the Apple Documentary

http://developer.apple.com/documentation/Cocoa/Conceptual/Sheets/ Tasks/UsingAppModalDialogs.html

Regards,
Torsten Trautwein

On Mar 12, 2006, at 7:23 PM, Matt Neuburg wrote:

On Sun, 12 Mar 2006 18:25:11 +0100, Torsten Trautwein
<email@hidden> said:
    [NSApp beginSheet: mySheet
            modalForWindow: window
            modalDelegate: nil
            didEndSelector: nil
            contextInfo: nil];
    [NSApp runModalForWindow: mySheet];

There's your problem, surely. Either you want a doc-modal sheet or an app-modal separate window; you can't mix them like this. m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Sheet in a non-document-based Application
      • From: Matt Neuburg <email@hidden>
References: 
 >Re: Sheet in a non-document-based Application (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: Advice On Where To Start
  • Next by Date: Re: Help on NSToolbar
  • Previous by thread: Re: Sheet in a non-document-based Application
  • Next by thread: Re: Sheet in a non-document-based Application
  • Index(es):
    • Date
    • Thread