Answer Posted / prabhu.somasundaram
DDV - > Associate Single control with single variable.So
that we can define the properties for that associated variable.
DDX - > Associate Input Validation Function with Particular
variable.
for ex:
void DDV_Check(CDataExchange* dx, int DividerValue)
{
if ( DividerValue< 0)
{
AfxMessageBox("Not Valid Input for Divider");
dx->Fail();
}
}
///Calling Function
//{{AFX_DATA_MAP(CDlg)
DDV_Check(dx, m_age); // Our function
//}}AFX_DATA_MAP
Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is mfc in vc++?
How do I remove microsoft visual c++ 2015 redistributable?
Is visual c++ a compiler?
Explain the significance of initapplication() in vc++.
What is microsoft visual c++ 2008 redistributable and do I need it?
What is visual c++ runtime error?
Do I need microsoft visual c++ 2005 redistributable on my computer?
What is visual c++ redistributable?
Is microsoft visual c++ a virus?
Is it ok to uninstall microsoft visual c++?
What is dao in vc ++?
What is vcredist?
How can we use cmutex?
What is microsoft visual c++ 2005 redistributable?
Explain the important features of vc++?