• 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
Re: How to track a lost mouseDown
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to track a lost mouseDown


  • Subject: Re: How to track a lost mouseDown
  • From: "I. Savant" <email@hidden>
  • Date: Mon, 27 Aug 2007 14:12:37 -0400

On 8/27/07, I. Savant <email@hidden> wrote:
> > I have custom view that is not receiving a mouseDown.
> > How do most efficiently track what is happening to the event?
>
>   With respect, you're asking the wrong question. You need to ask,
> "How do I receive -mouseDown: in my custom view?"

  I'm an idiot. :-D  I kept reading that as the -mouseEntered:,
-mouseExited:, and -mouseMoved: methods ... even though I *wrote*
-mouseDown: myself ... (sigh)

  In short, I have steered you wrong.

>   What makes you think a cursor rect has anything to do with
> mouse-down events? It's a *cursor* rect. ;-)

  *THIS* is still accurate, though. So is my original statement about
your question. Tracking where some random mouse event isn't what you
should be interested in ... working out why the event isn't making it
to your custom view is.

  How have you verified your custom view's -mouseDown: method is not
being called? NSLog()? A breakpoint? Are you returning YES for
-acceptsFirstResponder: in your custom view?

--
I.S.
_______________________________________________

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

References: 
 >How to track a lost mouseDown (From: Steve Cronin <email@hidden>)
 >Re: How to track a lost mouseDown (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: How to track a lost mouseDown
  • Next by Date: Re: Newbie question about _NSSize and NSSize
  • Previous by thread: Re: How to track a lost mouseDown
  • Next by thread: Re: How to track a lost mouseDown
  • Index(es):
    • Date
    • Thread