I am working Visual C++ 6.0. I have not migrated to Visual Studio 2005 or 2012 due to migration problems, which I was not able to overcome. I am working on Engineering Design Software which has 59 classes and has 186 controls in one FormView. This Form accepts about 40 data input items in the edit box type of controls. When the user clicks the "Calculate" button, the software does the calculations and displays the calculated output in the ReadOnly edit boxes on the same FormView.
There is an option on the menu to show this input and output values in the Document View. When this is used the data is shown in the document format. When the user reverts to the Form View, some (about six) controls are missing in the Form View. Nowhere GetDlgItem(Control_Name)->ShowWindow(SW_HIDE) command is used. This also happens when the file is closed and reopened. The same controls are missing.
When Document View is asked for, the Document Class stores the data in three arrays, each of size with 155 elements, using OnDraw() command of the Document Class.
Please help me with my problem.
Earlier I had problem when the number of controls in the Form View exceeded 256. This appeared to be the limitation of VC++ 6.0 version. This was overcome by reducing the number of elements.
Dilip Chawathe