Re: clicking through
Re: clicking through
- Subject: Re: clicking through
- From: m <email@hidden>
- Date: Sun, 10 Sep 2006 13:10:24 -0700
On Sep 10, 2006, at 5:51 AM, Mailing list subscriptions wrote:
El 10/09/2006, a las 14:38, Hans van der Meer escribió:
Problem:
One view (subclass of NSView) covers another one completely; both
are in the same window and share the same superview. The covering
view is (necessary) added as subview latest.
If I understand your description correctly you are trying to do
something unsupported by NSView. Overlapping NSViews are not
supported. One view can enclose another (superview-subview) but you
can't overlay one view "on top" of another. See the NSView
documentation.
This is not correct. You can overide the covering NSView's hitTest
method to always return nil and get the behavior you are looking for.
_murat _______________________________________________
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