I have a dialog box with an edit box. When the user clicks a calculate button, a new dialog box pops-up and the user can input simple data. In the second dialog box's OnOk(), I calculate a value that I want to put into the first dialog's edit box. But I just can't get anything to work. Is there some command called upon returning to the first dialog box?

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