mouse down selectively not select the cell
mouse down selectively not select the cell
- Subject: mouse down selectively not select the cell
- From: Mitchell Livingston <email@hidden>
- Date: Tue, 01 Jul 2008 11:38:50 -0400
Hello,
I have an outline view that consists of custom-drawn cells, where I
have images representing buttons. I want a left click on the buttons
to not change the selected cells but still perform mouse tracking (I
use hitTestForEvent:inRect:ofView: to determine if it should track); a
mouse down anywhere else would not perform mouse tracking and would
change the selection. I went through all the possible return values
for the hit test method, but the only one that doesn't select the cell
(NSCellHitNone) also causes tracking to not perform. Is there a
straightforward way to do this?
Thanks,
Mitchell Livingston
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden