• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Apple Events and CFRunLoop?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple Events and CFRunLoop?


  • Subject: Re: Apple Events and CFRunLoop?
  • From: Brian Webster <email@hidden>
  • Date: Fri, 5 Apr 2002 10:08:16 -0600

On Friday, April 5, 2002, at 09:04 AM, cocoa-dev-
email@hidden wrote:

But how can AppleEvents be made to fire in a vanilla CFRunLoop
application? Is it possible? I have searched the headers for a way to create a RunLoopSource from an AppleEvent, but no dice.

You might try calling RunApplicatonEventLoop() instead CFRunLoopRun(). I believe it uses CFRunLoop as the actual loop but installs standard Carbon/Apple event handlers before running it. I think you might not even have to install your own quit event handler, although you certainly can if you want to do some cleanup before quitting.

--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
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.

  • Prev by Date: Re: why Obj-C -> IB evolution
  • Next by Date: How to update window contents while window is in the Dock
  • Previous by thread: Re: why Obj-C -> IB evolution
  • Next by thread: Re: Apple Events and CFRunLoop?
  • Index(es):
    • Date
    • Thread