Re: Notification of Front Process Changed ?
Re: Notification of Front Process Changed ?
- Subject: Re: Notification of Front Process Changed ?
- From: Rosyna <email@hidden>
- Date: Wed, 27 Aug 2003 23:15:05 -0700
Register for the notification
com.apple.HIToolbox.menuBarShownNotification or
AppleSystemUIModeChanged (this one is for 10.2 or later only)
They are sent whenever a new application becomes frontmost.
Ack, at 8/27/03, Hsu said:
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).
Karl
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
---
Please include any previous correspondence in replies, it helps me
remember what we were talking about. Thanks.
_______________________________________________
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.