Re: NSTableView NSTrackingArea and mouse clicks

2008-07-25 Thread Corbin Dunn
On Jul 24, 2008, at 6:16 PM, [EMAIL PROTECTED] wrote: i have an NSTableView that uses a data source (no bindings, but i don't think this is relevant). one column uses a custom cell that is actually a subclass of NSTokenFieldCell (but i don't think this is relevant either). i draw this

Re: NSTableView NSTrackingArea and mouse clicks

2008-07-25 Thread Corbin Dunn
Hi ken, It took me a minute to realize it, but what you describe below makes sense. Let me clarify what preparedCellAtColumn:row: does; this is the main funnel point that NSTableView uses to get a cell to do any operations (ie: drawing, type selection, etc). NSTableView's implementation

Re: NSTableView NSTrackingArea and mouse clicks

2008-07-25 Thread [EMAIL PROTECTED]
hi corbin, i understand ur explanation and it makes sense. and i see that the fix works in PhotoSearch. unfortunately, it doesn't solve all my problems. but at this point, i believe i may have a draw problem as i'm seeing the highlight being drawn twice. thanx, ken ps. i used the term

NSTableView NSTrackingArea and mouse clicks

2008-07-24 Thread [EMAIL PROTECTED]
i have an NSTableView that uses a data source (no bindings, but i don't think this is relevant). one column uses a custom cell that is actually a subclass of NSTokenFieldCell (but i don't think this is relevant either). i draw this cell differently depending on whether or not the row it is in