-
DDX/DDV and Message Maps
Hi,
I am currently working on understanding message passing between dialog boxes and classes and I am confused as to the use of DDX/DDV and message maps. I understand that message maps takes the message from the box and calls the appropriate handler but what is the point of DDX/DDV. Thanks
Amish
-
DDX routines take information from controls in your dialog and populate member variables of your CDialog derived class. For instance, if you have a numeric-only edit box in your dialog, a DDX routine will take the value and stuff into an int member of your CDialog derived class. DDV routines will validate the data within the controls.
For more info: Dialog Data Exchange and Validation
gg
-
cool that helps. Thanks
Amish