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?



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.

That's precisely what I did for my application, both for certain menu bar items and a little Docklet -- here's a screenshot from Tiger:


<http://peter-maurer.de/sandbox/menubarcontextmenu.png>

It works, but it just doesn't feel right. And you get some drawing glitches, too.

Peter.

--
manytricks.com | petermaurer.de
_______________________________________________

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.