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 ?

Answers were Sorted based on User's Feedback



What is the use of DDV and DDX routines ?..

Answer / zerozero

DDX-Transfer the data b/w dialog control and data member.

ex: DDX_TEXT(pDX,IDC_NAME,m_strName)

DDV: Validated the data entered into dialog control varibles.
Ex: DDX_TEXT(pDX,IDC_NAME,m_strName)
DDV_TEXT(pDX,m_strName,30)

Is This Answer Correct ?    8 Yes 0 No

What is the use of DDV and DDX routines ?..

Answer / arundeva

DDX(DoDataExchange()
Is use To associate Control variable To Control ID.

DDV(DoDataValidation)
Is used to Set the range of control Value.

Is This Answer Correct ?    4 Yes 0 No

What is the use of DDV and DDX routines ?..

Answer / dharani

1)dialog data exchange (DDX)

All dialog data functions are done with C++ code. There are
no special resources or magic macros. The heart of the
mechanism is a virtual function that is overridden in every
dialog class that does dialog data exchange and validation.
It is always found in this form:

Copy Code
void CMyDialog::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX); // call base class

//{{AFX_DATA_MAP(CMyDialog)
<data_exchange_function_call>
<data_validation_function_call>
//}}AFX_DATA_MAP
}


2)dialog data validation (DDV)


Is This Answer Correct ?    1 Yes 0 No

What is the use of DDV and DDX routines ?..

Answer / 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

More VC++ AllOther Interview Questions

How do I reinstall microsoft visual c++?

0 Answers  


Name the most commonly used wizards?

2 Answers  


What is odbc in vc ++?

0 Answers  


Is microsoft visual c++ important?

0 Answers  


How many time DLLMain gets called?

1 Answers   Microsoft,


How can i communicate with two systems one is located some place another is located 100km how from the current systems which protocala i have to use

2 Answers   Invensys,


difference between assert and verify.

0 Answers  


How do I install microsoft visual c++ 2015?

0 Answers  


How do I uninstall and reinstall microsoft visual c++ runtime libraries?

0 Answers  


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

0 Answers  


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

0 Answers   Atos Origin,


What is microsoft visual c++ used for?

0 Answers  


Categories