FROM : Nick Zitzmann
DATE : Tue Nov 02 18:20:41 2004
On Nov 1, 2004, at 4:14 PM, Nick Zitzmann wrote:
> 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?
Thanks to those who responded. Here is the correct answer: Get the
view's NSScrollView, get the NSScrollView's NSClipView, turn on
bounds-did-change notifications on the NSClipView, and register for the
notifications.
Nick Zitzmann
<http://www.chronosnet.com/>
DATE : Tue Nov 02 18:20:41 2004
On Nov 1, 2004, at 4:14 PM, Nick Zitzmann wrote:
> 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?
Thanks to those who responded. Here is the correct answer: Get the
view's NSScrollView, get the NSScrollView's NSClipView, turn on
bounds-did-change notifications on the NSClipView, and register for the
notifications.
Nick Zitzmann
<http://www.chronosnet.com/>
| Related mails | Author | Date |
|---|---|---|
| Nick Zitzmann | Nov 2, 00:14 | |
| Keith Renz | Nov 2, 05:22 | |
| Nick Zitzmann | Nov 2, 18:20 |






Cocoa mail archive

