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 cwinthread class?
Is it safe to uninstall microsoft visual c++ 2008 redistributable?
What is difference between c++ and visual c++?
What is microsoft visual c++ used for?
What is vcredist?
What is microsoft visual c++ 2010 x86 redistributable?
What is microsoft visual c++ 2008 redistributable and do I need it?
What is a wizard?
What is difference between c++ and vc++?
What is cmutex? How can we use it?
Does visual c++ 2017 replace 2015?
Do I need microsoft visual c++ 2005 redistributable on my computer?
How do I create an mfc application in vc++?
What is microsoft visual c++ 2005 redistributable?
What is the use of microsoft visual c++ 2015 redistributable?