• 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: Removed view still getting events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removed view still getting events


  • Subject: Re: Removed view still getting events
  • From: John Nairn <email@hidden>
  • Date: Fri, 29 Sep 2006 12:04:59 -0700

On Sep 29, 2006, at 11:35 AM, Matt Neuburg wrote:

On or about 9/29/06 11:28 AM, thus spake "John Nairn" <email@hidden>:

I gave it a try, but did not seem to help

Anything else to know about this view? Got tracking rects or anything? Those
are maintained on a window-level basis... Just guessing wildly here. I
remove views all the time and don't have this problem. m.

Yes, it does have tracking rects, but the crop marker is released when the view is deallocated. The tracking rect methods (addTrackingRect or removeTrackingRect) are NSView methods.


Is more needed to remove the tracking rect when an NSView is closed without closing the window?

P.S.: I similarly have removed views from superviews without this problem, but this may be the only one with a tracking rect where I have tried.

-----------------------------
John Nairn (1-541-737-4265, FAX:1-541-737-3385)
Professor and Richardson Chair
Web Page: http://woodscience.oregonstate.edu/faculty/Nairn
FEA/MPM Web Page: http://oregonstate.edu/~nairnj



_______________________________________________
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


  • Prev by Date: Re: Removed view still getting events
  • Next by Date: Re: Removed view still getting events
  • Previous by thread: Re: Removed view still getting events
  • Next by thread: Change selected Text using changeAttributes:
  • Index(es):
    • Date
    • Thread