• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSStatusItem in Carbon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSStatusItem in Carbon
      • From: Rosyna <email@hidden>
    • Re: NSStatusItem in Carbon
      • From: Omar Qazi <email@hidden>
  • Prev by Date: Re: Interacting The System
  • Next by Date: How to use NSPrintHeaderAndFooter
  • Previous by thread: Re: Interacting The System
  • Next by thread: Re: NSStatusItem in Carbon
  • Index(es):
    • Date
    • Thread