NSScrollView scroll notifications?
NSScrollView scroll notifications?
- Subject: NSScrollView scroll notifications?
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 1 Nov 2004 16:14:07 -0700
I checked the archives and did not see any answers to this question...
I have a custom view that's inside an NSScrollView. This custom view
sets up subviews of its own, and the subviews have subviews of their
own. The latter subviews set up mouse tracking rectangles. I've set
things up so that if their frame changes, or if their superview's frame
changes, then the tracking rectangle is reset.
But when the view is scrolled, the tracking rectangles stay the same.
How do I let the subviews know when the enclosing scroll view has been
scrolled? I need to update the tracking rectangles when this happens...
I've already tried watching for frame-did-change and bounds-did-change
notifications (and turning them on) for the clip view and scroll view;
neither worked.
Nick Zitzmann
<http://www.chronosnet.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