Path: utzoo!utgpu!cunews!bnrgate!uunet!mcsun!hp4nl!star.cs.vu.nl!vuecon!walther From: walther@econ.vu.nl (Walther Schoonenberg/10000) Newsgroups: eunet.micro.acorn,comp.sys.acorn Subject: Spreadsheet window in C Message-ID: <734@.econ.vu.nl> Date: 14 Jan 91 09:35:39 GMT Reply-To: walther@econ.vu.nl (Walther Schoonenberg/10000) Organization: VU economics Amsterdam Lines: 30 I want to write a kind of spreadsheet program for my Archie (not exactly a spreadsheet appliaction but a spreadsheet window is *included* in this appl) in ANSI C. I'm wondering what is the best way to program a lot of spreadsheet cells in a window. First I thought a lot about writable icons but I think it is not good programming to include hundreds of writable icons in a window. It would make the program very slow (and it's a bit anti-social). The best solution I 'invented' is this: draw a grid in a window and let the user select a cell. Make there a writable icon which will be deleted if the user selects a different cell where a new writable icon is created, etc. The only minor drawback of this is that you have to draw all other cell contents with MOVE en PRINT equivalents. Is the best way to do this? Do you know a better solution? If so, please email me. ============================================================================== Walther Schoonenberg Vakgroep Econometrie Faculteit der Econonomische Wetenschappen en Econometrie * * * * * Vrije Universiteit * * * * De Boelelaan 1105 * * * * * 1081 HV Amsterdam * * * * The Netherlands * * * * * (020) 5483609 walther@econ.vu.nl ============================================================================== Disclaimer : The views expressed above are those of the author alone and may not represent the views of the University. ==============================================================================