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: active application callback?



On Nov 29, 2004, at 2:15 AM, Jarrell Irvin wrote:
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

This email sent to email@hidden
References: 
 >active application callback? (From: Jarrell Irvin <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.