Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!pa.dec.com!nntpd.lkg.dec.com!engage!ootool.dec.com!tenny From: tenny@ootool.dec.com (Dave Tenny) Newsgroups: comp.sys.next Subject: ScrollView question Message-ID: <1991May8.175640.4658@engage.enet.dec.com> Date: 8 May 91 17:51:21 GMT Sender: news@engage.enet.dec.com (USENET News System) Organization: Digital Equipment Corporation Lines: 30 I have a subclass of ScrollView. It doesn't do much, but overloads initFrame and drawSelf to update some status indicators. It also attaches a subclass of View as the docView of the ScrollView. The docView gets created with a runtime dependent set of dimensions. Let's say the dimensions are 2000x2000. I want to be able to do two things that I can't seem to find very easily. (A) I want to tell the scroller buttons how much a click should cause them to scroll the docView. How? (B) I want to update a status window with the current "lower left" positions that are being displayed in the ScrollView. I can't seem to find this data. The data in the rects argument to drawSelf might have it, or it might not (depends on the why drawSelf was called). The bounds and other objects present in the ScrollView and its docView show things with origin 0,0 and width/height 2000 X 2000. How can I tell exactly what the lower left index of the docView being displayed in the ScrollView is? I suppose an addendum question is: (C) Do the "techdocs" available from NeXT for $95 include the missing concepts chapters which detail this type of data? Will these concepts chapters be online again (as they were in 1.0) in 2.1? Thanks, Dave