I'm writing a dialog based application. I have the main dialog and another dialog that opens up when I press a button (let's call that dialog1). On dialog1 I have a button. When I press this button, I want to do things to controls on the main dialog... for example display text on an edit box. How do I access an edit box (or other controls) on the main dialog from the other dialog?
There are multiple ways and one of them is assign it to one of the member variables of the child window.