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 vcredist?
What is microsoft visual c++ 2010 x86 redistributable?
hello sir i need movie editing and mixing software .where it is available and what is the site address
What is the difference between turbo c++ and visual c++?
What is iunknown?
What is visual c++ 2008 redistributable x64?
Do I need microsoft visual c++?
Do I need the microsoft visual c++?
What is mfc in vc++?
Is microsoft visual c++ a virus?
What is vcruntime?
What is a thread (VC++) and state the difference between Cmutex and Csemaphone?
Explain the significance of initapplication() in vc++.
difference between assert and verify.
How do I get rid of microsoft visual c++ runtime library error?