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: Key Focus Between Carbon & Cocoa Windows



On Nov 2, 2003, at 6:40 AM, Nick Nallick wrote:

I'm trying to integrate some Cocoa windows into my Carbon application. I find that if a floating Carbon window (with the standard event handler) has the key focus and a Cocoa window tries to take the key focus I end up in a confused state where both seem to think they have the focus. I don't see this problem with Carbon document windows, just floating windows so I'm guessing it's a bug. Is there a workaround for this, such as adding an event handler to my floating windows or the WindowRef of my Cocoa windows?

I don't actually know what's happening here, never have had a report of this specific problem before. The Cocoa folks might know more, since they handle the Carbon/Cocoa interaction more than we do.

-eric
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Key Focus Between Carbon & Cocoa Windows (From: Nick Nallick <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.