Re: menu things
Re: menu things
- Subject: Re: menu things
- From: Finlay Dobbie <email@hidden>
- Date: Mon, 22 Oct 2001 22:43:18 +0100
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