Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running a modal Cocoa window in Carbon.



It's not a sheet that I want, but an actual app-level modal dialog/ panel.

On Aug 3, 2007, at 11:04 AM, Frederick Cheung wrote:


On 3 Aug 2007, at 15:49, Óscar Morales Vivó wrote:

Sorry if I've posted this one already, I think it silently died in a Mail.app glitch but I might be wrong.

I'm trying to present a modal cocoa window within a carbon app, and I'm not sure how to proceed about it. Trying to run using the Cocoa method ([NSApp runModalForWindow:]) won't work at all, not even making the window appear. I guess it must be something related to the run loop being a carbon one, but I haven't found anything in the docs to guide me there.

Any help will be greatly appreciated.

Attaching a cocoa sheet to a carbon window (or vice versa) doesn't really work. You can get it to display but there are all sorts of things that don't work (there was a thread about this a few weeks ago) I seem to recall reading here that this would be fixed in Leopard

Fred


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Running a modal Cocoa window in Carbon. (From: Óscar Morales Vivó <email@hidden>)
 >Re: Running a modal Cocoa window in Carbon. (From: Frederick Cheung <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.