Skip navigation.
 
mlRe: Non-AppKit equivalent for NSWorkspace and/or future-proof poseAsClass?
FROM : Sean McBride
DATE : Wed Jan 09 16:25:59 2008

On 1/9/08 2:13 PM, Matt Gough said:

>> 1. Can I get the same NSWorkspace notifications from somewhere else? 
>> I've
>> nosed through /System/Library/Frameworks without stumbling across 
>> anything
>> obvious but I may just be blind.

>
>Carbon events seems a good way to go:
>
>See kEventClassApplication in CarbonEvents.h


I'm not sure I'd recommend Carbon Events for new code.  Apple decided to
kill 64 bit Carbon, and if you look through CarbonEvents.h you'll see
that most APIs are 32 bit only.

--
____________________________________________________________
Sean McBride, B. Eng                <email_removed>
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada