[comp.windows.ms.programmer] Is Windows confused or am I?

ghenniga@nmsu.edu (Gary Hennigan) (06/03/91)

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      +
+---------------------------------------------------------------------------+