Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpcvlx!bturner From: bturner@hpcvlx.cv.hp.com (Bill Turner) Newsgroups: comp.windows.ms Subject: Re: How does Excel do cells Message-ID: <106580073@hpcvlx.cv.hp.com> Date: 6 Dec 89 19:40:39 GMT References: <49529@ccicpg.UUCP> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 14 > On further reflection, I hope that the designers of Excel made no assumptions > as to the max resolution and size of the display device, and therefore cannot > know the max number of cells that Excel might be called upon to display at > once. Given the absence of virtual memory and the generous 640K limit, I don't > think each cell is a window. Actually, it's even worse than that. When a window is created, a data structure of non-trivial size (I don't know exactly how large) is allocated from a single 64K segment, which is also used to allocate class structures from. (HINT: This is why you shouldn't register window classes with large cbClsExtra or cbWndExtra values) --Bill Turner (bturner@hp-pcd.hp.com) HP Corvallis Information Systems