Is there a way to get a callback or some sort of notification whenever
the active application (not necessarily my application, so suspend and
resume events would not help) changes?
I think you're looking for this, in CarbonEvents.h:
/*
* The front (active) application has changed. Available on Mac OS X
* and CarbonLib 1.3.1 and later.
*/
kEventAppFrontSwitched = 7,
Cheers,
--Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden