On May 7, 2010, at 2:26 PM, Jens Alfke wrote:

> On May 7, 2010, at 10:28 AM, David Alter wrote:
> 
>> I need to bring a window up that is modal for the application (i.e.  you can
>> not make other windows active, and you can not use menus while this window
>> is up). However after bringing the modal window up I want control returned
>> to the main runloop, not a modal runloop.
> 
> You want -beginModalSessionForWindow:. 

I'm not sure that will help.  With modal sessions, you still need to run an 
inner run loop.  You don't return back to the main run loop.

Mind you, I'm not sure why the OP thinks he needs that, regardless of the 
structure of his original Carbon code.

Regards,
Ken

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to