• 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: Finding and NSView in a window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Finding and NSView in a window (From: David Alter <email@hidden>)

  • Prev by Date: Finding and NSView in a window
  • Next by Date: Re: NSString vs. encoding
  • Previous by thread: Finding and NSView in a window
  • Next by thread: Re: How to create subentity object inheriting from superentity object in core data
  • Index(es):
    • Date
    • Thread