Thread: DDX/DDV and Message Maps

  1. #1
    Registered User
    Join Date
    Dec 2004

    DDX/DDV and Message Maps

    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

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    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


  3. #3
    Registered User
    Join Date
    Dec 2004
    cool that helps. Thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Strange string behavior
    By jcafaro10 in forum C Programming
    Replies: 2
    Last Post: 04-07-2009, 07:38 PM
  2. Message class ** Need help befor 12am tonight**
    By TransformedBG in forum C++ Programming
    Replies: 1
    Last Post: 11-29-2006, 11:03 PM
  3. Making a script language?
    By Blackroot in forum Game Programming
    Replies: 10
    Last Post: 02-16-2006, 02:22 AM
  4. Dialog Box Problems
    By Morgul in forum Windows Programming
    Replies: 21
    Last Post: 05-31-2005, 05:48 PM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM