NSView begin scrolled

  • How can i set up a NSView to be notified when its being scrolled? I
    tried getting notifications for bounds and frame changes on the view,
    but i dont get any when it is scrolled. I also tried overeloading
    setFrame and setBounds, but the same thing, no updates when being
    scrolled.

    Any ideas?

    thanks

    AC
  • > How can i set up a NSView to be notified when its being scrolled? I
    > tried getting notifications for bounds and frame changes on the
    > view, but i dont get any when it is scrolled. I also tried
    > overeloading setFrame and setBounds, but the same thing, no updates
    > when being scrolled.

    You need to enable the clip view’s bounds changed notifications; see
    Mark Dalrymple’s page on NSScrollView at:
    http://www.borkware.com/quickies/one?topic=NSScrollView

    -Ben
previous month november 2007 next month
MTWTFSS
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
Go to today