If I want to create a window (winMAIN) and then create a dialog (dlgCONFIG) how to I get the *parent (tying the dialog to the window)?
I don't want all that MDIframe stuff.
Just pass it winMain. Nothing else is necessary.
Or if your creating the dialog in a method of the window you can pass the 'this' pointer.