title: Prevent the user from manually scrolling NSScrollview?
body: <p>I am using an NSScrollview to scroll programatically. I have hidden the horizental and vertical scrollers but the user is still able to scroll using the mouse wheel.I want to prevent thismanual scrolling.</p>
  
  <p>This is how I am doing the automatic scrolling </p>
  
  <pre><code>- (IBAction)scrollToMidAnimated:(id)sender
  {
      [NSAnimationContext beginGrouping];
      [[NSAnimationContext currentContext] setDuration:2.0];
      NSClipView* clipView = [self.scrollView contentView];
      NSPoint newOrigin = [clipView bounds].origin;
      newOrigin.y = [self.scrollView contentView].frame.size.height/2.0;
      [[clipView animator] setBoundsOrigin:newOrigin];
      [NSAnimationContext endGrouping];
  }
  </code></pre>
  
  <p>It works perfectly but I want to prevent the user from manual scrolling(I only want to scroll programatically).Is there any way to do that?</p>