• 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: 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

  • Follow-Ups:
    • Re: Change a NSMenu's shape?
      • From: David Alger <email@hidden>
  • Prev by Date: Re: Spewing stderr to an NSTextView
  • Next by Date: Re: Change a NSMenu's shape?
  • Previous by thread: Re: Change a NSMenu's shape?
  • Next by thread: Re: Change a NSMenu's shape?
  • Index(es):
    • Date
    • Thread