Re: Passing Parameters Out of a DialogBox

Tech-Archive recommends: Fix windows errors by optimizing your registry



Now that I can pass parameters into a DialogBox member function by initializing
a DialogBox data member, I need to pass data out of the DialogBox member
function. How can I do this without using a global?

Provide methods to Dialog class which can be accessed by other objects:

CMyDialog dlg;

dlg.DoModal();

int val = dlg.GetSomeValue();

etc.

---
Ajay

.