Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Dock "one-bounce" with Carbon?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dock "one-bounce" with Carbon?



Dear Scott,

You can get a one-bounce launch by postponing any initialization (including opening windows) until after your app's event loop has been called for the first time.

You could implement this with an event timer: triggerinh a Carbon Event to perform the time-consuming initialization after the first call to RunApplicationEventLoop(). (You will need to ensure that you don't lose any pending AppleEvents, however.)

Regards,

David Palmer
CrystalMaker Software
_______________________________________________
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.



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.