I have an (big) NSImageView embedded in an (smaller) NSScrollView. I want to automatically scroll if the mouse goes near the edge of the window, how do I do this?
I have an (big) NSImageView embedded in an (smaller) NSScrollView. I want to automatically
Share
You could create an NSTrackingArea to be notified when the mouse enters a particular area of a view and then use one of NSResponder’s scroll.. routines to scroll the view.