Re: Change a NSMenu's shape?
Re: Change a NSMenu's shape?
- Subject: Re: Change a NSMenu's shape?
- From: Rainer Brockerhoff <email@hidden>
- Date: Tue, 13 Nov 2007 18:51:35 -0200
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?
--
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