Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!sun-barr!apple!well!svc From: svc@well.UUCP (Leonard Rosenthol) Newsgroups: comp.sys.mac Subject: Re: Scrolling in Document Windows.... Summary: Be Careful of printing code Message-ID: <12262@well.UUCP> Date: 19 Jun 89 01:41:32 GMT References: <8YZaJ=y00WB8I180l0@andrew.cmu.edu> Lines: 23 In article <8YZaJ=y00WB8I180l0@andrew.cmu.edu>, aw1j+@andrew.cmu.edu (Adam Duncan Warr) writes: > Macintosh Revealed volumee three has the code for a program called MiniEdit > which now supports printing. The code for scrolling lies therein. > I recently posted a message that asked how to implement scrolling > since then I have put scrolling windows into my applilcation. > If Mac Revealed does not give you what you want, try the Macintosh > Programming Primer for LightSpeed C. It is an excellent book. The > Primer contains several programs that use scrolling windows. If that > isn't enough, respond to this message and I'll explain it myself. > I had the opportunity this weekend to quickly browsde through the new THINK C book mentioned above (Programming Primer...) and I also would like to say it doesn't look half bad (I only read the intro and the source code though) - EXCEPT - DO NOT USE THE PRINTING CODE IN THAT BOOK!! It does not ever check for errors and leaves A LOT to be desired - on the other hand, though, the new MacRevelead (v 3) has a GREAT chapter on printing which talks about all sorts of stuff that most programmer don't deal with and should be. -- +--------------------------------------------------+ Leonard Rosenthol | GEnie : MACgician Lazerware, inc. | MacNet: MACgician UUCP: svc@well.UUCP | ALink : D0025