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? Explain its advantages.
What is microsoft visual c++ 2008 redistributable and do I need it?
What is vcruntime?
Can I remove microsoft visual c++?
What is the difference between turbo c++ and visual c++?
How do I create an mfc application in vc++?
What is visual c++ runtime error?
How do I uninstall visual c++?
Is it safe to uninstall microsoft visual c++ 2008 redistributable?
What is visual c++ runtime?
Does visual c++ 2017 replace 2015?
What is a thread (VC++) and state the difference between Cmutex and Csemaphone?
How do I install microsoft visual c++ 2015?
What is microsoft visual c++ used for?
Do I need the microsoft visual c++?