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: carbon events in cocoa app...



On Saturday, December 7, 2002, at 06:32 PM, Brad Oliver wrote:

RunApplicationEventLoop (or RAEL for short) is the overall Carbon event loop
call - it doesn't return until the event loop is terminated from within with
something like QuitApplicationEventLoop().

You probably don't want to use this call from within Cocoa, but I'm not
familiar enough with running both Carbon and Cocoa event loops
simultaneously to suggest the proper way. You could try getting the Carbon
WindowRef for a window and installing a Carbon event handler directly to
that, but that's just a guess.

In 10.2, they should "just work". In 10.1 and earlier, they won't.

See <http://developer.apple.com/techpubs/macosx/Essentials/CarbonCocoaDoc/ index.html>

-- Finlay
_______________________________________________
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.

References: 
 >Re: carbon events in cocoa app... (From: Brad Oliver <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.