Re: Change a NSMenu's shape?
Re: Change a NSMenu's shape?
- Subject: Re: Change a NSMenu's shape?
- From: Rainer Brockerhoff <email@hidden>
- Date: Tue, 13 Nov 2007 16:58:28 -0200
At 10:05 -0800 13/11/2007, email@hidden wrote:
>From: Pleasant Software for the People <email@hidden>
>References: <email@hidden>
> <p06240801c35ea836c40f@[10.1.1.3]>
> <email@hidden>
> <email@hidden>
> <email@hidden>
>In-Reply-To: <email@hidden>
>Date: Tue, 13 Nov 2007 16:49:36 +0100
>Message-ID: <email@hidden>
>
>>1) Is there a way to make a popup menu (popped by [NSMenu popUpContextMenu:...] or any other method) look like a Dock menu?
>>2) and if yes, I need to position the menu's triangle point very precisely, too...
>
>MAAttachedWindow by Matt Gemmell (http://mattgemmell.com/source) may be a solution for your problem (or at least a starting point).
Yes, that's a good class. I'd actually talked this over with Matt before posting here and we concluded it's too much work (in the short term) to emulate all the little NSMenu details... icons, scrolling, submenus, and whatnot.
It would have been nice, as I'm about to publish a little app that brings Tiger-style nested folder popups back to the Dock. But I guess for now users will have bear the lack of the little triangle. ;-)
--
Rainer Brockerhoff <email@hidden>
Belo Horizonte, Brazil
"In the affairs of others even fools are wise
In their own business even sages err."
Weblog: http://www.brockerhoff.net/bb/viewtopic.php
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden