Re: controls in menu
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