• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
unable to catch mouseDown
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: unable to catch mouseDown
      • From: Ken Ferry <email@hidden>
  • Prev by Date: Re: +[NSColor highlightColor] returns white instead of actual color
  • Next by Date: Re: Core Data relationship disappears
  • Previous by thread: Re: Serial IO seems to be starving UI
  • Next by thread: Re: unable to catch mouseDown
  • Index(es):
    • Date
    • Thread