• 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 forward mouse events to another view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to forward mouse events to another view?


  • Subject: Re: How to forward mouse events to another view?
  • From: Stephen Deken <email@hidden>
  • Date: Sun, 15 Oct 2006 17:01:06 -0500

Ivan,

I have a view A containing another view B. I want to have mouse events within B be handled by B in some situations or by the containing view A in others.

Look at NSView's -hitTest: method.

http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/Classes/NSView_Class/Reference/Reference.html#// apple_ref/occ/instm/NSView/hitTest:

Stephen Deken
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to forward mouse events to another view?
      • From: Ivan Kourtev <email@hidden>
References: 
 >How to forward mouse events to another view? (From: Ivan Kourtev <email@hidden>)

  • Prev by Date: Re: Invisible App
  • Next by Date: Re: Core Data: undo and non-object attribute [SOLVED]
  • Previous by thread: How to forward mouse events to another view?
  • Next by thread: Re: How to forward mouse events to another view?
  • Index(es):
    • Date
    • Thread