Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removed view still getting events



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.