• 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: controls in menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: controls in menu


  • Subject: Re: controls in menu
  • From: "Corey O'Connor" <email@hidden>
  • Date: Tue, 28 Feb 2006 23:55:08 -0800

This is not a Cocoa solution, but does reference how you can place any
view into a menu:
http://developer.apple.com/documentation/Carbon/Conceptual/HIViewDoc/HIView_tasks/chapter_2_section_12.html

A similar approach could be used to place a control (Or any HIView for
that matter) into a menu.

There looks like there were two ways to do this in Cocoa. One is
deprecated (NSMenuItemCell) and the other is being removed. So
probably not the best routes to take.

I'd suggest going the carbon route and making a request to apple to
add a cocoa api.

-Corey

P.S. Wouldn't it be great to mix and match HIViews and NSViews? ;-)

On 2/28/06, Alan Smith <email@hidden> wrote:
> 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:
>
> This email sent to email@hidden
>


--
-Corey O'Connor
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >controls in menu (From: "Alan Smith" <email@hidden>)

  • Prev by Date: Re: Need Help Please....Truncation Mode for Window Title
  • Previous by thread: Re: controls in menu
  • Next by thread: where to put on-resize calculations in NSCell?
  • Index(es):
    • Date
    • Thread