Re: Modal window help
Re: Modal window help
- Subject: Re: Modal window help
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 16 Feb 2004 17:01:41 -0800
On Feb 16, 2004, at 1:23 PM, Bill Houston wrote:
I am trying to run an NSWindow created in InterfaceBuilder as a modal
window
using runModalForWindow.
When I execute the application I get the following runtime error
message:
"Uncaught exception: <NSInternalInconsistencyException> Modal session
requires modal window"
Does it work if you change the NSWindow into an NSPanel? Also, if
you're trying to open the window in another thread (which is what the
error message is suggesting to me), you ought to perform the
-runModalForWindow: selector in the main thread.
Nick Zitzmann
<
http://seiryu.home.comcast.net/>
<
http://www.freshlysqueezedsoftware.com/>
S/MIME signature available upon request
UNIX: Where /sbin/init is Job #1.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.