🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2988

Is Windows confused or am I?

#2988
From: Gary Hennigan
Date: Sun, 02 Jun 1991 21:59
29 lines
1735 bytes
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      +
+---------------------------------------------------------------------------+
Technical Details
Message-ID: <GHENNIGA.91Jun2155904@tesla.nmsu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!cs.umn.edu!ariel.unm.edu!nmsu!opus!ghenniga

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <GHENNIGA.91Jun2155904@tesla.nmsu.edu>
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