NSStatusItem in Carbon
NSStatusItem in Carbon
- Subject: NSStatusItem in Carbon
- From: Donald Hall <email@hidden>
- Date: Mon, 10 Jul 2006 23:50:31 -0600
I want to use an NSStatusItem so that I can monitor a certain
background application from the menu bar. I have to use a Carbon
application because NSWorkspace won't tell me when a background
program launches or quits. I am trying to incorporate code from the
ObserveProcessLifeCarbon and Cocoa in Carbon sample projects and the
article in MacTech from last February on "menulets".
Can anyone point me to some sample code to incorporate NSStatusItem
in Carbon? I am not having much success, and searching the archives
of this list hasn't been very helpful so far. Specifically, the
ObserveProcessLifeCarbon project on which I am basing my project does
not produce a bundled application, and I am not sure how to make it
one so I have some place to hold the Cocoa nib file containing my
menulet.
Thanks,
Don
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden