• 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: Getting hitTest of Subview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting hitTest of Subview


  • Subject: Re: Getting hitTest of Subview
  • From: j o a r <email@hidden>
  • Date: Sat, 2 Nov 2002 13:55:59 +0100

Sorry, you were probably referring to the hitTest: method of NSView.
If you implement this method in your subclass it should get called when a mouse down event occurs within the frame of an instance of your subclass inserted in a view hierarchy - unless (as per the documentation) some superview to this instance has decided to not pass along mouse events to it's subviews.

j o a r

On Saturday, Nov 2, 2002, at 12:23 Europe/Stockholm, Craig Bakalian wrote:

The CBNote is a subclass of NSView. It just draws a @"Hello World".
This works fine. OK, how do I get a hitTest for this added subview? I
feel lost in responders, locations, and superviews.
_______________________________________________
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.

References: 
 >Getting hitTest of Subview (From: Craig Bakalian <email@hidden>)

  • Prev by Date: Re: Getting hitTest of Subview
  • Next by Date: NSURL : Download resuming
  • Previous by thread: Re: Getting hitTest of Subview
  • Next by thread: NSURL : Download resuming
  • Index(es):
    • Date
    • Thread