unable to catch mouseDown
unable to catch mouseDown
- Subject: unable to catch mouseDown
- From: Jeffrey Goines <email@hidden>
- Date: Sun, 1 Feb 2009 15:47:01 +0100
Hello.
I have a custom view to which I add a NSMatrix as subview.
I've set the target and action of the cells and it's working like I want.
Now I want to introduce some mode in which the behaviour is different.
A mouseclick should no longer trigger the action.
I want to catch the click in the view and process it further there since
it's the appropriate place.
I've tried setting the view to acceptFirstResponder and the Matrix to
resignFirstResponder,
yet it's not working.
It behaves as if the Matrix lies on top of the view and not as if the click
has to get through
the custom view to the Matrix which is a subview.
I don't understand that.
Thanks!
_______________________________________________
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