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 the difference between turbo c++ and visual c++?
how to declare and populate an array of checkBoxes
What is cmutex? How can we use it?
Is it safe to uninstall microsoft visual c++ 2008 redistributable?
What is splitter window in vc++?
Is visual c++ still used?
What is microsoft visual c++ used for?
What is vcredist_x86 exe?
How can we use cmutex?
What is microsoft visual c++ 2013 redistributable package x64?
How do I install microsoft visual c++ 2015?
What is the Use of the Developer Studio Editor?
What is the use of microsoft visual c++ 2015 redistributable?
What is iunknown?
What are the advantages of a message map