I have an MDI application where a dialog is called when the OnFileNew()
function (processed by the theApp
object) is called. This dialog allows the user to set values to some variables that then need to be passed on to the CChildFrame
object that is created when the ->CreateNewChild()
function is called.
How do I pass these variables onto the CChildFrame
object that is created by the ->CreateNewChild()
function?
EDIT:
In response to an answer I got, here are the results for using ->Create()
vs ->CreateNewChild()
.
Link: CMainFrame *pFrame;
- pFrame->CreateNewChild()
Link: CChildFrame *childFrame;
- childFrame->Create()
How do I get the tabbed windows shown in the first link with the function declarations described in the second link?