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
Explain pointer to the constant and constant pointer?
How do I install microsoft visual c++ 2015?
What is vcredist?
What is microsoft visual c++ used for?
Explain the advantages of cwinthread class.
What is visual c++ runtime error?
How do I uninstall vc++ 2015?
What is odbc in vc ++?
Do you need microsoft visual c++?
What is vc++ programming?
What is iunknown? Explain some of commonly used methods provided by iunknown.
What is vcredist_x86 exe?
How do I reinstall visual c++ on windows 10?
What is a thread (VC++) and state the difference between Cmutex and Csemaphone?
How do you handle drag and drop in ole?