• 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: clicking through
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: clicking through


  • Subject: Re: clicking through
  • From: m <email@hidden>
  • Date: Sun, 10 Sep 2006 13:10:24 -0700


On Sep 10, 2006, at 5:51 AM, Mailing list subscriptions wrote:

El 10/09/2006, a las 14:38, Hans van der Meer escribió:

Problem:
One view (subclass of NSView) covers another one completely; both are in the same window and share the same superview. The covering view is (necessary) added as subview latest.

If I understand your description correctly you are trying to do something unsupported by NSView. Overlapping NSViews are not supported. One view can enclose another (superview-subview) but you can't overlay one view "on top" of another. See the NSView documentation.

This is not correct. You can overide the covering NSView's hitTest method to always return nil and get the behavior you are looking for.


_murat _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >clicking through (From: Hans van der Meer <email@hidden>)
 >Re: clicking through (From: Mailing list subscriptions <email@hidden>)

  • Prev by Date: NSBrowser, and the default contentValues binding
  • Next by Date: Re: Re: Speaking of tracking rects...
  • Previous by thread: Re: clicking through
  • Next by thread: Re: Re: clicking through
  • Index(es):
    • Date
    • Thread