Re: Disabling round corners at the top of a NSMenu
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