• 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
How do you find an underlying view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do you find an underlying view?


  • Subject: How do you find an underlying view?
  • From: email@hidden
  • Date: Thu, 12 Feb 2004 17:16:29 +0000

Let's say that you have "topView" and "bottomView" that are both subviews of "mainView". The "topView" is placed above (using mainView.addSubview(topView, NSWindow.Above, bottomView) so that it covers "BottomView".

How can you programatically find what view is underneath "topView"? Is there a straightforward way of doing this or am I going to have to walk thru all the subviews of mainView and do my own overlapping tests? Anyone have code?
_______________________________________________
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.

  • Follow-Ups:
    • Re: How do you find an underlying view?
      • From: John Randolph <email@hidden>
  • Prev by Date: ERROR -- *** layout manager 12e71b0 reentrant glyph generation problem.
  • Next by Date: Re: performSelectorOnMainThread and other thread notifications
  • Previous by thread: ERROR -- *** layout manager 12e71b0 reentrant glyph generation problem.
  • Next by thread: Re: How do you find an underlying view?
  • Index(es):
    • Date
    • Thread