On Jun 11, 2005, at 10:15 AM, Eric Brunstad wrote:
You can't have a Cocoa menubar in a Carbon app because it uses a Cocoa runloop, not a Carbon one.
Apparently, under Tiger, the two RunLoop mechanisms have been unified such that Cocoa and Carbon
can be mixed, yet have a single run-loop. I learned this from the Apple DTS engineers during WWDC.
Gen
From what Mark wrote, it seems like he wants to have both Cocoa and Carbon menu items in the main menu bar. Is this what you are saying? I don't think you can have a menubar with both Carbon and Cocoa menu items.
No, I'm simply saying that the run-loop mechanisms under Tiger are unified and as such, the
problem must lie elsewhere. My guess is that the problem would lie in routing messages;
maybe a DTS engineer can weigh-in on this topic. Another approach would be to trace the
message flow in both the Carbon and Cocoa sides and see if the messages are being dispatched
at all, or if they are simply going to the wrong place.
Eric Brunstad
Mind Sprockets Software
email@hidden
www.mindsprockets.com