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