• 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: Change a NSMenu's shape?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change a NSMenu's shape?


  • Subject: Re: Change a NSMenu's shape?
  • From: David Alger <email@hidden>
  • Date: Tue, 13 Nov 2007 13:11:04 -0600


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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Change a NSMenu's shape?
      • From: Uli Kusterer <email@hidden>
References: 
 >Re: Change a NSMenu's shape? (From: Rainer Brockerhoff <email@hidden>)

  • Prev by Date: Re: Change a NSMenu's shape?
  • Next by Date: Re: "(Not Responding)" problems in Leopard
  • Previous by thread: Re: Change a NSMenu's shape?
  • Next by thread: Re: Change a NSMenu's shape?
  • Index(es):
    • Date
    • Thread