Compiler: Visual C++ Standard Edition 4.0
Language: C
Project type: Win32
Problem: I have created 6 edit controls and one pushbutton. I created them
in this order: 4 edit controls, pushbutton, 2 edit controls(read only).
They all function properly BUT I can copy the text from only the 3rd and
4th edit boxes. The buffers were initialized when declared and the 1st and
2nd buffers get over written with spaces. I am using Edit_GetText to get
the text. This program is being written to make a calculation. The data in
the first 4 edit boxes will be used to make the calculation and the answers
will be displayed in the last 2 edit boxes. The pushbutton is the Calc button.
So, I enter the text in the first 4 boxes, hit the calc button, and then as
a test I display the text using TextOut and only the text from number 3 and 4
are displayed. The lines used for number 1 and 2 are blank. These are not
dialog boxes, just edit controls. I have done a lot of research and tried
different things but have not solved the problem. I would appreciate some
help very much. Thanks, John