• 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: How to ignore events for NSView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to ignore events for NSView


  • Subject: Re: How to ignore events for NSView
  • From: Ricky Sharp <email@hidden>
  • Date: Tue, 15 Mar 2005 15:16:06 -0600


On Mar 15, 2005, at 12:51 PM, Robert Miller wrote:

Does anyone know if there is a way to have a subclass of NSView ignore events ? I'd like to be able to have an NSView behave as an 'color overlay' in another NSView that may contain other subviews such that the overlay view is drawn on top of all the other content. This part can be achieved easily by adding an overlay subview to a main view so that it gets drawn last, effectively on top of all other views, however I do not want this overlay view to be recognized as being able to handle any events , I 'd like it to be completely ignored. I've found no way to achieve this type of behavior.

Use an overlay window instead. This is what I do to have a "watermark" over my window in the demo flavor of my app.


___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com

_______________________________________________
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: 
 >How to ignore events for NSView (From: Robert Miller <email@hidden>)

  • Prev by Date: Re: Blurring, phycedelic NSTableViews.
  • Next by Date: Re: Bindings NSMatrix
  • Previous by thread: Re: How to ignore events for NSView
  • Next by thread: bug id window animation ?
  • Index(es):
    • Date
    • Thread