How to open a dialog in a child window (MDI)?
Posted on 2004-04-08
I've got a MDI application and want to open a dialog (lets call it IDD_DIALOG1) in a new child window by clicking a button. on the same time I want to close the existing child window (where the button was placed).
In other words I want to open a child window just like "file-->new" in the generated standard MDI application, but with the content of IDD_DIALOG1 instead the standard one.
Already tried it with Create (opens the dialog in the same child window) and DoModal (refuses to work).