Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change a NSMenu's shape?



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.