• 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: Disabling round corners at the top of a NSMenu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disabling round corners at the top of a NSMenu


  • Subject: Re: Disabling round corners at the top of a NSMenu
  • From: David Alger <email@hidden>
  • Date: Mon, 12 Nov 2007 07:04:05 -0600

It sound to me like your displaying this as a popup instead of like a usual menu, since that would be the correct appearance for a popup menu. So, you might try looking in that direction. I'm pretty new to cocoa (been doing carbon previously) so I can't specify any API.

HTH,
David Alger


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

RESTORE THE REPUBLIC & RETAIN YOUR RIGHTS

On Nov 12, 2007, at 2:36 AM, Benoît wrote:

Hello,

I have an application which posts a NSMenuItem in the menu bar and
attached to it is a custom menu I build by subclassing NSMenu. This
works fine but in Leopard this custom menu has round corners at both
the top and the bottom of the menu, which looks ood. Is there a way to
tell the menu to not display round corners at the top? I didn't find
such method in the documentation.

Thank you for your help.

Regards,
Benoit


_______________________________________________

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: 
 >Disabling round corners at the top of a NSMenu (From: "Benoît" <email@hidden>)

  • Prev by Date: Re: drawing an array of pixels to the screen
  • Next by Date: Re: leaking memory in Core Data
  • Previous by thread: Disabling round corners at the top of a NSMenu
  • Next by thread: Re: troubleshooting unrecognised selector messages
  • Index(es):
    • Date
    • Thread