• 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: Robert Clair <email@hidden>
  • Date: Thu, 3 Apr 2003 17:57:40 -0500

There is indeed something flaky with rightMouseDown. I have a window with a custom
view that is loaded from a nib in the usual way. I have a separate object, which inherits
from NSResponder, to handle the events for the view. (It is inserted in the
responder chain after the view on awakeFromNIb. It never gets rightMouseDown events.
Curiously, the view does get them. I solved the problem with a minor kludge -
a rightMouseDown method in the view:

- (void) rightMouseDown:(NSEvent*)currentEvent
{
// for some reason this isn't getting forwarded by the responder chain
[eventHandler rightMouseDown:currentEvent];
}

------Bob
_______________________________________________
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: nspopupbutton smoothness
  • Next by Date: Re: import statement issues
  • Previous by thread: Re: NSResponder - rightMouseDown, What am I missing?
  • Next by thread: NSApplescript
  • Index(es):
    • Date
    • Thread