Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. MDI MFC App Question

MDI MFC App Question

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++algorithmshelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LighthouseJ
    wrote on last edited by
    #1

    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.

    M 1 Reply Last reply
    0
    • L LighthouseJ

      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.

      M Offline
      M Offline
      MailtoGops
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups