Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!cs.umn.edu!ariel.unm.edu!nmsu!opus!ghenniga From: ghenniga@nmsu.edu (Gary Hennigan) Newsgroups: comp.windows.ms.programmer Subject: Is Windows confused or am I? Message-ID: Date: 2 Jun 91 21:59:04 GMT Article-I.D.: tesla.GHENNIGA.91Jun2155904 Sender: news@NMSU.Edu Distribution: comp Organization: New Mexico State University Lines: 29 Another novice question! I'm trying to implement a simple interface for a line plotting routine which is similiar to a spreadsheet. The easiest way to do this, at least I thought it would be easy, is to put a client-area full of edit controls and set the text for the edit "boxes" to the formatted number. What happens is that after about 12 or so of the edit windows get put up my program goes wild and eventually exits. Here's a little piece of what my code looks like: for( i=0; i < #; i++) { "Create Edit Control Window using CreateWindow." "Format number to a string." "Put formatted string in a window using SetWindowText." } That's it! It's almost like my program is getting ahead of Windows and confusing it badly because it really starts doing wild things. Like I said it's O.K. for about six or eight edit "boxes" but beyond that it's anyone's guess. I'd appreciate any input! -- Gary Hennigan +---------------------------------------------------------------------------+ + e-mail: ghenniga@NMSU.Edu, henninsf@maxwel.NMSU.Edu + + Electrical Engineering; PhD Student, Computational Electromagnetics + +---------------------------------------------------------------------------+