• 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 19:26:42 -0600


On Nov 13, 2007, at 2:51 PM, Rainer Brockerhoff wrote:

At 21:41 +0100 13/11/2007, Uli Kusterer wrote:
Am 13.11.2007 um 20:11 schrieb David Alger:
Would it be possible to use a custom MDEF to modify the appearance of the menu?


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.

I actually tried that, but I didn't figure out how to position the menu edge accurately enough for that...


I suppose I could ask the Carbon menu behind NSMenu for its outline, somehow?

If you want to know how to do lower level stuff on your menus using the Carbon Menu Manager, you might ask some questions about it on the carbon-dev list. I know their are allot of very knowledgeable people their willing to help, as long as you ask politely and can communicate properly (no, I'm not saying you aren't already doing that here so pleas don't take it that way).


Regards,
David Alger

********************
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


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>)
 >Re: Change a NSMenu's shape? (From: Rainer Brockerhoff <email@hidden>)

  • Prev by Date: Re: Memory limits under Garbage Collection, NSMutableData vs. malloc()
  • Next by Date: Re: How to observe Core Data add/remove actions?
  • Previous by thread: Re: Change a NSMenu's shape?
  • Next by thread: Re: Change a NSMenu's shape?
  • Index(es):
    • Date
    • Thread