How do you find an underlying view?
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.