MDI MFC App Question
-
I recently started exploring using an SDI interface for this app I'm trying to write and I'm currently filling out the source code to do it (which should be complicated). I started the project from the AppWizard like almost all of my apps do. It asked me for a default file extension but I didn't give one not knowing what I'd want and figured I could set it later and here I am, ready to set a default extension but I can't seem to find it. I've tried searching help files and searching for the text "ext" but nothing shows up. Does the system default to All Files since I didn't offer up an extension and I need to add in something somewhere to set the extension? Also, how can I change what shows up in the child window? I just get a big white area. I want to take out that white area and place controls on my own in there through source code.
-
I recently started exploring using an SDI interface for this app I'm trying to write and I'm currently filling out the source code to do it (which should be complicated). I started the project from the AppWizard like almost all of my apps do. It asked me for a default file extension but I didn't give one not knowing what I'd want and figured I could set it later and here I am, ready to set a default extension but I can't seem to find it. I've tried searching help files and searching for the text "ext" but nothing shows up. Does the system default to All Files since I didn't offer up an extension and I need to add in something somewhere to set the extension? Also, how can I change what shows up in the child window? I just get a big white area. I want to take out that white area and place controls on my own in there through source code.
All you need do is go to Resource-->String table. There you can find entry for IDR_MAINFRAME. You can get help to fill out IDR_MAINFRAME through google. Other see the following example. IDR_MAINFRAME has to be set like this. sample\n\nSample\nSample Files (*.dat)\n.dat\nSample.Document\nSample Document " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan