Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!umich!sharkey!sbcs!usenet From: rmiller@sbcs.sunysb.edu (Robert Miller) Newsgroups: comp.sys.mac.programmer Subject: questions, questions, questions.... Message-ID: <1990Jul25.192329.11315@sbcs.sunysb.edu> Date: 25 Jul 90 19:23:29 GMT Sender: usenet@sbcs.sunysb.edu (Usenet poster) Organization: State University of New York at Stony Brook Lines: 25 I'm working on my first Macintosh application, and I'm unclear about several things. There will be two windows, one of them with a TextEdit record and another one with graphics. 1. I would like to store the graphics in a PicHandle for easy updating. What is the effect of calling DrawPicture when there is a picture definition open? Will it transfer the code of one picture to another picture? Or will the call of DrawPicture be encoded into the picture? 2. I would like to keep the viewRect in the TextEdit record large enough so that no lines wrap to the next line. That is, each line ends with an end-of-line character. Would calculating the length of the longest line be a problem? 3. Is there a straightforward way of printing a Picture or a TextEdit record? I apologize if these questions are too simple, but sometimes it is very hard to know where to look, even if supposedly everything is spelled out in Inside Macintosh. Thanks, Robert rmiller@sbcs.sunysb.edu