DDX_Control error
hi
i have code like this
DDX_Control(pDX, IDC_EditBloodPressure, m_editProgramCodes[ProgramCodeVital]);
this is compile fine
but
in dialog window when i click on edit control
i am getting this message box error;
Parsing error: Expected ")".
Input Line: "DDX_Control(pDX, IDC_EditBloodPressure, m_editProgramCodes[ProgramCodeVital]);"
application is working fine.
# 1 Re: DDX_Control error
hi
i have code like this
DDX_Control(pDX, IDC_EditBloodPressure, m_editProgramCodes[ProgramCodeVital]);
this is compile fine
but
in dialog window when i click on edit control
i am getting this message box error;
Parsing error: Expected ")".
Input Line: "DDX_Control(pDX, IDC_EditBloodPressure, m_editProgramCodes[ProgramCodeVital]);"
application is working fine.
When do you get this message box: while running your App or when you try to open a Class Wizard?
Note, that Class Wizard cannot work with such "complicated" expressions asDDX_Control(pDX, IDC_EditBloodPressure, m_editProgramCodes[ProgramCodeVital]);
You should move this line placing it outside the AFX_DATA_MAP block:
//{{AFX_DATA_MAP(<your_dialog>)
DDX_Control.........
DDX_Control.......
.......
//}}AFX_DATA_MAP
DDX_Control(pDX, IDC_EditBloodPressure,m_editProgramCodes[ProgramCodeVital]);"