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

How do you handle drag and drop in ole?

960


Can I uninstall visual c++ 2005?

936


Do I need microsoft visual c++ 2005 redistributable on my computer?

1068


How do I uninstall visual c++?

943


What is cwinthread class? Explain its advantages.

962


How do I get rid of microsoft visual c++ runtime library error?

1097


What is a copy constructor? What is the need for it?

947


What is the use of message map? Advantages of a message map.

948


What is microsoft visual c++ 2010 x86 redistributable?

959


How do I install microsoft visual c++ 2015?

946


How do I change visual code font?

1035


How you build a project using Developer Studio?

2229


Explain the advantages of cwinthread class.

928


What is microsoft visual c++ 2013 redistributable?

1010


What is a microsoft visual c++ 2008 redistributable?

927