Le 17 févr. 2010 à 17:30, Tom Davie a écrit : > I need an NSMenuItem that rather than drawing an NSImage in it's cell draws > *part* of an NSImage, is it possible to override NSMenuItem's drawing in any > way to achieve this? I don't see the relevant methods.
Use a View in your menu item: http://developer.apple.com/mac/library/samplecode/MenuItemView/index.html#//apple_ref/doc/uid/DTS10004136 -- Jean-Daniel _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com