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 the difference between turbo c++ and visual c++?

994


how to declare and populate an array of checkBoxes

1115


What is cmutex? How can we use it?

996


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

1064


What is splitter window in vc++?

1093


Is visual c++ still used?

979


What is microsoft visual c++ used for?

1009


What is vcredist_x86 exe?

1030


How can we use cmutex?

962


What is microsoft visual c++ 2013 redistributable package x64?

984


How do I install microsoft visual c++ 2015?

982


What is the Use of the Developer Studio Editor?

2588


What is the use of microsoft visual c++ 2015 redistributable?

974


What is iunknown?

958


What are the advantages of a message map

1006