Re: How to ignore events for NSView
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