Skip navigation.
 
mlCustom NSCell selection and click issues
FROM : Justin Williams
DATE : Fri Mar 14 22:36:50 2008

Greetings,

I have built a custom NSCell that displays the isCompleted and title
of the CalTask items on a user's Mac.  I've got two issues with the
cell that i can't seem to figure out.

1. When a user selects one of the rows, the shadow on a row one or two
above will disappear.  It look's like its being overdrawn, but I'm not
sure where it's causing it.

2. Selecting the checkbox is not as reliable as I would like.  I am
determining if the user clicks the cell, by grabbing an NSPoint of the
selection and seeing if it is in the checkbox's rect.  It usually
registers a click every other selection.

I've uploaded a small sample project with the custom cell that should
show the behaviors.

http://secondgearllc.com/attachments/taskcell.zip

Any help would be appreciate.

Thanks!

--
-
Justin Williams
<email_removed>
work: http://www.secondgearllc.com/
play: http://www.carpeaqua.com

Related mailsAuthorDate
No related mails found.