• 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
Re: Adding items to right side of main menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding items to right side of main menu


  • Subject: Re: Adding items to right side of main menu
  • From: "Erik J. Barzeski" <email@hidden>
  • Date: Fri, 09 Aug 2002 19:17:09 -0400

On 8/9/02 5:46pm, "Lorenzo Thurman" <email@hidden> wrote:

> From: "Lorenzo Thurman" <email@hidden>
> Reply-To: email@hidden
> Date: Fri, 9 Aug 2002 17:28:09 -0400 (EDT)
> To: email@hidden
> Subject: Adding items to right side of main menu
>
> I know Apple strongly discourages it, but I'd like to create a program that
> adds an item to the right side of the menubar. I cannot find any docs that
> show how I might go about this. Does anyone have any pointers?

They discourage menu extras.

NSStatusItem (and its brother, whose name I always forget) are perfectly
acceptable ways to add things over there, as far as Apple's concerned.

Check the documentation for more information. Cocoa Dev Central has an
NSStatusItem tutorial (it has some other stuff too) that'll be out around
August 24 as well (only 15 days, 4 hours, 43 minutes left <g>) but that's a
long time to wait.


--
Best wishes,
Erik J. Barzeski

"What counts is not necessarily the size of the dog in the fight;
it's the size of the fight in the dog." - Dwight D. Eisenhower
###################################################################
Email: erik@(anything below) AIM: iacas

http://iacas.org http://weims.net
http://techstra.net http://barzeski.com
http://cocoadevcentral.com http://soundsetcentral.com
http://freshlysqueezedsoftware.com http://applescriptcentral.com
###################################################################
_______________________________________________
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.

  • Prev by Date: Moving windows across multiple monitors
  • Next by Date: Re: NSLayoutManagers
  • Previous by thread: Moving windows across multiple monitors
  • Next by thread: Debugging a service.
  • Index(es):
    • Date
    • Thread