Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the use of DDV and DDX routines ?

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


Please Help Members By Posting Answers For Below Questions

What is cwinthread class? Explain its advantages.

1129


What is microsoft visual c++ 2008 redistributable and do I need it?

1079


What is vcruntime?

1089


Can I remove microsoft visual c++?

1121


What is the difference between turbo c++ and visual c++?

1072


How do I create an mfc application in vc++?

1103


What is visual c++ runtime error?

1261


How do I uninstall visual c++?

1036


Is it safe to uninstall microsoft visual c++ 2008 redistributable?

1157


What is visual c++ runtime?

1092


Does visual c++ 2017 replace 2015?

1053


What is a thread (VC++) and state the difference between Cmutex and Csemaphone?

1096


How do I install microsoft visual c++ 2015?

1051


What is microsoft visual c++ used for?

1067


Do I need the microsoft visual c++?

1105