DDX/DDV and Message Maps

This is a discussion on DDX/DDV and Message Maps within the Windows Programming forums, part of the Platform Specific Boards category; Hi, I am currently working on understanding message passing between dialog boxes and classes and I am confused as to ...

  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    205

    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

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

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

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, 10:03 PM
  3. Making a script language?
    By Blackroot in forum Game Programming
    Replies: 10
    Last Post: 02-16-2006, 01: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21