Alan: I think what you're seeing in the case of such "controls in
menus" is actually a deception on the part of the NSStatusItem and/or
MenuExtra (Apple's private SPI for items such as the volume menu
item). The displayed UI is not a menu at all, simply a small window
designed look like one.
So to design your own such menu, you'd have to basically invent a
window that looks right and then display it at the appropriate time.
If drastic customization of a menu being displayed in the ordinary
menu bar is required, you can get quite a few special effects as a
Carbon application, but I don't think you can manage this from a
Cocoa application without a great deal of hacking.
One quick simple question: how do I make a menu like the volume
one in the
menu bar. I need to place a control in a menu. Any ideas?
Thanks everyone, Alan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/jalkut%40red-
sweater.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden