Re: Getting hitTest of Subview
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.