• 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: Peter Maurer <email@hidden>
  • Date: Wed, 14 Nov 2007 14:31:55 +0100

Or alternately, create a small overlay window that draws the triangle and put it in a higher layer than the menu's backing window is. Judging from some drawing glitches I got, that's what the dock is actually doing.

That's precisely what I did for my application, both for certain menu bar items and a little Docklet -- here's a screenshot from Tiger:


<http://peter-maurer.de/sandbox/menubarcontextmenu.png>

It works, but it just doesn't feel right. And you get some drawing glitches, too.

Peter.

--
manytricks.com | petermaurer.de
_______________________________________________

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


References: 
 >Re: Change a NSMenu's shape? (From: Rainer Brockerhoff <email@hidden>)
 >Re: Change a NSMenu's shape? (From: David Alger <email@hidden>)
 >Re: Change a NSMenu's shape? (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: After upgrade to leopard: "principalClass is nil" while loading preferencesPane
  • Next by Date: Re: Heads Up: Code generation bug
  • Previous by thread: Re: Change a NSMenu's shape?
  • Next by thread: [Core Data] Lightweight Objects
  • Index(es):
    • Date
    • Thread