Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change a NSMenu's shape?




On Nov 13, 2007, at 12:58 PM, Rainer Brockerhoff wrote:

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. ;-)

Would it be possible to use a custom MDEF to modify the appearance of the menu?


David


******************** Ron Paul for President 2008 http://ronpaul2008.com/

RESTORE THE REPUBLIC & RETAIN YOUR RIGHTS

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Change a NSMenu's shape? (From: Rainer Brockerhoff <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.