• 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: Gregg Witmer <email@hidden>
  • Date: Tue, 15 Mar 2005 15:05:44 -0500

MainView Custom NSView
        Overlay
        Subview A
        Subview B
        Subview C
            ....

Overlay will be drawn last on top of all other subviews due to is ordering in the subviews array.

One thing to try would be to move the drawing routines for the Overlay into the drawRect for the MainView...


- (void)drawRect:(NSRect)aRect
{
[super drawRect:aRect];	// this will draw Subviews A, B and C

Overlay drawing routines here.
}

Not sure if that will solve your problem or not.

Gregg
_______________________________________________
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: slow NSWorkspaceDidWakeNotification
  • Next by Date: bug id window animation ?
  • Previous by thread: How to ignore events for NSView
  • Next by thread: Re: How to ignore events for NSView
  • Index(es):
    • Date
    • Thread