Re: menu things
Re: menu things
- Subject: Re: menu things
- From: Matthew Formica <email@hidden>
- Date: Mon, 22 Oct 2001 16:52:49 -0700
See Q&A 1081: <
http://developer.apple.com/qa/qa2001/qa1081.html>
- Matthew
on 10/22/01 2:43 PM, Finlay Dobbie at email@hidden remarked:
>
On Monday, October 22, 2001, at 10:01 pm, Prem Chopra wrote:
>
>
> At 12:19 PM 10/22/2001 -0700, Vinay Venkatesh wrote:
>
>> can anyone point me to a place where i can find some documentation on
>
>> building menu items..i.e. like the script menu, the volume menu, etc?
>
>
>
> They are Apple's private API and I believe unlike OS 9, they discourage
>
> 3rd party developers from putting anything there.
>
>
There is a public API for doing so, see NSStatusBar and NSStatusItem in
>
AppKit, and someone provided a workaround for a bug in it which means
>
whenever you click on the thing it brings your app to the foreground
>
(unwanted behavior), which you might be able to find using the list
>
archive search, but you might not :-)
>
For an example of using the Menu Extra API, see ASM (search
>
VersionTracker or something).
>
>
-- Finlay
>
_______________________________________________
>
cocoa-dev mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
--
Matthew Formica
DTS Engineer - Developer Tools and Cocoa
Apple Computer, Inc.
email@hidden
Mac OS X Development Tools:
http://developer.apple.com/tools/
Project Builder on the web:
http://developer.apple.com/tools/projectbuilder/
Project Builder FAQ:
http://developer.apple.com/tools/projectbuilder/faq.html
Cocoa docs on the web:
http://developer.apple.com/techpubs/macosx/Cocoa/CocoaTopics.html
Cocoa sample code:
http://developer.apple.com/samplecode/Sample_Code/Cocoa.htm