On Thu, Jul 8, 2010 at 9:57 AM, augusto callejas <[email protected]> wrote: > yes i know its not a real menu, but given it mostly behaves like one, > i was trying to use existing functionality without having to rewrite the > menu-ing system.
Given that you're going to want to do a significant amount of custom work, it's probably better for your own sanity that you can't work from within NSMenu to do this. I don't imagine dispatching Cocoa events from within a view-based menu item to be a fun time. If it helps, +[NSMenu selectedMenuItemColor] is a magic color that gives you the 10.5 and later gradient appearance. So at least you don't have to reimplement that yourself. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
