Cocoa autoscroll question
Cocoa autoscroll question
- Subject: Cocoa autoscroll question
- From: Mark Dawson <email@hidden>
- Date: Sat, 26 Feb 2005 14:34:25 -0800
I see that I can program NSView's autoscroll: to allow automatic scrolling when the user hits the "
automatic scrolling region". However, I wasn't clear how to do that.
(1) How do I set up the "automatic scrolling region" and
(2) How do program the auto scrolling functionality?
I I'm confused about how to implement this in Cocoa--the NSView that implements dragging of my objects won't get called if the mouse is outside its view, unless the "automatic scrolling region" is some extension of the view that overlaps the scroll bars? If I try to implement this functionality one level up (in the window controller), it would have to know that a drag is in progress…
I didn't see much documentation other than references that it could be done.
Thanks!
Mark _______________________________________________
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