Re: Avoiding NSTableView NSOutlineView menu row highlight

2011-02-18 Thread Corbin Dunn
On Feb 18, 2011, at 9:57 AM, Markus Spoettl wrote: > On Feb 18, 2011, at 12:00 PM, Corbin Dunn wrote: >> You can't customize it. Please log bugs requesting that ability. >> >> NSTableView marks the rows to highlight in: >> >> - (NSMenu *)menuForEvent:(NSEvent *)theEvent >> >> If you override t

Re: Avoiding NSTableView NSOutlineView menu row highlight

2011-02-18 Thread Kyle Sluder
On Fri, Feb 18, 2011 at 10:24 AM, Markus Spoettl 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 o

Re: Avoiding NSTableView NSOutlineView menu row highlight

2011-02-18 Thread Markus Spoettl
On Feb 18, 2011, at 1:12 PM, Kyle Sluder wrote: > wrote: >> In my case the behavior is absolutely unwanted and confusing to the user. It >> wouldn't be if I had control over the context-highlight and could manually >> force rows to go into this state but as it is, it's undesirable for my >> par

Re: Avoiding NSTableView NSOutlineView menu row highlight

2011-02-18 Thread Kyle Sluder
On Fri, Feb 18, 2011 at 9:57 AM, Markus Spoettl wrote: > In my case the behavior is absolutely unwanted and confusing to the user. It > wouldn't be if I had control over the context-highlight and could manually > force rows to go into this state but as it is, it's undesirable for my > particula

Re: Avoiding NSTableView NSOutlineView menu row highlight

2011-02-18 Thread Markus Spoettl
On Feb 18, 2011, at 12:00 PM, Corbin Dunn wrote: > You can't customize it. Please log bugs requesting that ability. > > NSTableView marks the rows to highlight in: > > - (NSMenu *)menuForEvent:(NSEvent *)theEvent > > If you override that, and don't call super, the it will suppress the > highlig

Re: Avoiding NSTableView NSOutlineView menu row highlight

2011-02-18 Thread Corbin Dunn
On Feb 18, 2011, at 7:43 AM, Markus Spoettl wrote: > Hello, > > is there a way to avoid (or customize) the special row highlighting > NSTableView and NSOutlineView does when the context menu is shown? You can't customize it. Please log bugs requesting that ability. NSTableView marks the row