Re: Sheet in a non-document-based Application
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