I have a dialog box which calls another dialog box. When the user changes values in the second dialog box, I want changes to be made to the first dialog box automatically. But when I use UpdateData(FALSE) in the OnOk() for the second dialog box, this only updates the values in the second dialog box and never the first.

How can I update the values in the first dialog box from the second dialog box OnOk() function without using UpdateData(FALSE)?

Any response any one can give me will be greatly appreciated.