• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cocoa autoscroll question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Cocoa autoscroll question
      • From: Jeremy French <email@hidden>
  • Prev by Date: Re: Correct usage of replaceOccurencesOfString:withString:options:range
  • Next by Date: Data Plotting info needed
  • Previous by thread: Re: unicode character for action pull-down
  • Next by thread: Re: Cocoa autoscroll question
  • Index(es):
    • Date
    • Thread