How do I call a Child window from a Dialog?
-
Hello, This may seem rather easy for most of you, but I seem to have difficulty with what should be a very easy task. I have a Main Frame that opens with a background bmp but no Child. What I want to do is when you click "Start" from the menu, a dialog opens. After filling out a few variables in the dialog, I want to close the dialog, then open two new/different child windows (actually I would like to split the main window into 4 parts and place adifferent child into each quarter). Can anyone direct me to an online file or tutorial for something like this? I can't seem to find the right reference. Any help would be GREATLY appreciated!:-D Thomas (tntnmmd@hotmail.com)
-
Hello, This may seem rather easy for most of you, but I seem to have difficulty with what should be a very easy task. I have a Main Frame that opens with a background bmp but no Child. What I want to do is when you click "Start" from the menu, a dialog opens. After filling out a few variables in the dialog, I want to close the dialog, then open two new/different child windows (actually I would like to split the main window into 4 parts and place adifferent child into each quarter). Can anyone direct me to an online file or tutorial for something like this? I can't seem to find the right reference. Any help would be GREATLY appreciated!:-D Thomas (tntnmmd@hotmail.com)
From the Start Menu ? Override WM_COMMAND OnCommand() { check ur menu ID, if it from start menu, CChildDlg oDlg; oDlg.DoModal(); } 4 Frames???? Sounds like u really need a splitter wnd... hey refer MSDN , there is no other better source for MFC/SDK.. Ninety-eight percent of the thrill comes from knowing that the thing you designed works, and works almost the way you expected it would. If that happens, part of you is in that machine.