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: notification of front process change




On Feb 14, 2006, at 2:24 PM, Braden Thomas wrote:

It's easy to get the frontmost application using the Carbon API GetFrontProcess.
What the recommended way for my application to get a notification when this front process is changed, without having to constantly check the value returned by GetFrontProcess?

If your app can link against Carbon.framework, we recommend the kEventAppFrontSwitched Carbon event.


-eric

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >notification of front process change (From: Braden Thomas <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.