FROM : Uli Kusterer
DATE : Sun Jul 09 17:01:49 2006
Am 09.07.2006 um 10:05 schrieb Rosyna:
> Call GetFrontProcess() to get the front process and install a
> carbon event handler for kEventClassApplication/
> kEventAppFrontSwitched.
Instead of GetFrontProcess(), you could also just do:
[[NSWorkspace sharedWorkspace] activeApplication]
Which gives you a dictionary with lots of nice info.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
DATE : Sun Jul 09 17:01:49 2006
Am 09.07.2006 um 10:05 schrieb Rosyna:
> Call GetFrontProcess() to get the front process and install a
> carbon event handler for kEventClassApplication/
> kEventAppFrontSwitched.
Instead of GetFrontProcess(), you could also just do:
[[NSWorkspace sharedWorkspace] activeApplication]
Which gives you a dictionary with lots of nice info.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
| Related mails | Author | Date |
|---|---|---|
| Alexander Powell | Jul 9, 09:58 | |
| Rosyna | Jul 9, 10:05 | |
| Alexander Powell | Jul 9, 10:13 | |
| wadeslists | Jul 9, 10:15 | |
| Rosyna | Jul 9, 10:20 | |
| Uli Kusterer | Jul 9, 17:01 |






Cocoa mail archive

