Re: Notification of Front Process Changed
Re: Notification of Front Process Changed
- Subject: Re: Notification of Front Process Changed
- From: Chad Jones <email@hidden>
- Date: Wed, 27 Aug 2003 19:16:36 -0700
There's a Carbon Event you can use to get notified that the front
process switched. Look in CarbonEvents.h for the
kEventAppFrontSwitched notification. To my knowledge there is no
equivalent Cocoa notification, even in Panther.
I'm looking for a way to be notified when the front process changes
(note that the application I'm writing plans never to be the front
process, so I need a generalized mechanism).
I've looked through the NSWorkspace and Process Manager docs, and I
can't find anything obvious (other than polling GetFrontProcess, which
is bad).
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.