On Fri, Feb 18, 2011 at 10:24 AM, Markus Spoettl <msappleli...@toolsfactory.com> wrote: > I have multiple trees lined up side-by-side, each tree shows the same > hierarchy in a different version (so the items in the tree are different, not > the hierarchy itself) - think of a side-by-side folder comparison with any > number of trees. The trees are all sync'd, when you select an item in one > tree, the item gets selected in all of them. It creates the perfect illusion > of one big view with features that I could never achieve in one tree. > > The only thing that doesn't work is the menu highlight because there's no > control over it - which I personally find rather surprising given to > customizability of the thing in all other areas.
So you've got multiple views laid up side-by-side to give the illusion of one big view? Instead of changing the selection, could you implement Corbin's suggestion of overriding -menuForEvent: to not call super, but instead tell all the sibling views to draw pieces of the "this row was right-clicked" style? Then you keep the system standard behavior and maintain your illusion of one big view. --Kyle Sluder _______________________________________________ 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