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 protected])
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/jsbache%40adobe.com
>
> This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to