• 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: NSResponder - rightMouseDown, What am I missing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSResponder - rightMouseDown, What am I missing?


  • Subject: Re: NSResponder - rightMouseDown, What am I missing?
  • From: Julian Barkway <email@hidden>
  • Date: Thu, 03 Apr 2003 09:01:07 +0200

On Thursday, April 03, 2003, at 03:41AM, Peter Fischer <email@hidden> wrote:

>Hello all!-
> I have a subclass of NSBox, and I'm starting implement mouse
>clicking behavior. I have overriden the acceptsFirstResponder method,
>and am able to receive both mouseDown and otherMouseDown events, but my
>application won't seem to respond to rightMouseDown method, am I
>missing something? Shouldn't I implement this exactly like mouseDown &
>otherMouseDown(Is triggered by all other buttons on my Intellimouse
>explorer). Anyhow, what am I missing, is there something different I
>need to do within my rightMouseDown event, or register for something
>else? Any help would be greatly appreciated.

I too have noticed this behaviour. However I'm afraid I can't offer an answer, merely a suspicion. What I suspect is happening is that, since you can set an NSResponder to display a contextual menu on a rightMouseDown, NSResponder is swallowing rightMouseDowns so that they can exclusively be used for menu display.

Does anybody know for sure what's going on?

> Thanks
>
> --Pete
>_______________________________________________
>cocoa-dev mailing list | email@hidden
>Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Three builds to build...
  • Next by Date: Re: Frameworks in plugins?
  • Previous by thread: NSResponder - rightMouseDown, What am I missing?
  • Next by thread: Re: NSResponder - rightMouseDown, What am I missing?
  • Index(es):
    • Date
    • Thread