Re: Finding and NSView in a window
Re: Finding and NSView in a window
- Subject: Re: Finding and NSView in a window
- From: Jesper Storm Bache <email@hidden>
- Date: Wed, 16 Sep 2009 13:08:23 -0700
- Acceptlanguage: en-US
- Thread-topic: Finding and NSView in a window
the top most would be the content view. If you mean the inner-most
view, then get the content view and then use [NSView hitTest] on that
view (after you translate the coordinates to the coordinate space of
the content view).
Jesper
On Sep 16, 2009, at 1:04 PM, David Alter wrote:
> Is there and easy way to find the top most view for a given point in a
> Window?
> thanks for the help
> -dave
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden