Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!brutus.cs.uiuc.edu!apple!keith From: keith@Apple.COM (Keith Rollin) Newsgroups: comp.sys.mac.programmer Subject: Re: 32-bit OS (was: Re: Wide offscreen bitmap won't receive draw commands) Message-ID: <34184@apple.Apple.COM> Date: 21 Aug 89 19:56:47 GMT References: <22321@andante.UUCP> <1989Aug19.221033.2241@geology.wisc.edu> <8352@hoptoad.uucp> Organization: Apple Computer Inc, Cupertino, CA Lines: 25 In article <8352@hoptoad.uucp> tim@hoptoad.UUCP (Tim Maroney) writes: > >Want to display a bitmap or picture with more than 32,767 pixels in a >scrolling window? Better write your own scroll bar CDEF then, and set >up your own versions of the value etc. routines, because the Control >Manager can't imagine you would ever want a 32-bit control. Same goes >for text -- want to display more than 32,767 lines in a scrolling text >document? Don't look to the OS for help, except for drawing the >characters! Sounds like a job for MacApp! MacApp allows views to have 32-bit coordinates. Granted that there are some limitations to this imposed by QuickDraw and TextEdit (ie, you can't draw a line or square that's larger than 16-bits on a side, or have longer TextEdit views), but this hasn't shown itself to be a problem yet. Also, scrollbars have been hacked to support 32-bit values in MacApp. The technique it uses can be used in any application. ------------------------------------------------------------------------------ Keith Rollin --- Apple Computer, Inc. --- Developer Technical Support INTERNET: keith@apple.com UUCP: {decwrl, hoptoad, nsc, sun, amdahl}!apple!keith "Argue for your Apple, and sure enough, it's yours" - Keith Rollin, Contusions