Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding menu to right side of system menu bar



On Aug 31, 2003, at 6:30 PM, Neil Shore wrote:

I'm new to the MAC world and have been following this thread and this
newsgroup to, perhaps, get some idea of how to start. I will be developing an
app that will need to run on both OS 9 and OS X. Apple docs seem to imply
that carbon is the way to start. Any suggestions? Am I even in the correct
place to ask this question?

The techniques for adding a menu to the right side of the menubar are actually completely different for Mac OS 9 and X. There's no common API that's usable on both.

For 9, there are several techniques; most involve patching one trap or another. I believe there's some sample code in the MoreIsBetter sample package available on developer.apple.com that shows one possibility.

For X, you'll need to write a Cocoa application that uses the NSStatusItem class.

-eric
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Adding menu to right side of system menu bar (From: "Neil Shore" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.