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 app without MFC?

MDI app without MFC?

Scheduled Pinned Locked Moved C / C++ / MFC
4 Posts 4 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.
  • B Offline
    B Offline
    B
    wrote on last edited by
    #1

    Can I create a MDI form with child forms WITHOUT USING MFC? If it's possible, could you show me some code to do it? Thanks a lot in advance! B

    J S S 3 Replies Last reply
    0
    • B B

      Can I create a MDI form with child forms WITHOUT USING MFC? If it's possible, could you show me some code to do it? Thanks a lot in advance! B

      J Offline
      J Offline
      jschacker
      wrote on last edited by
      #2

      If you really want to do it without any wraper classes (i.e. MFC), get a few books like, "Windows 2000 Programming from the Ground Up" by Herbert Schildt. Herbert likes to hand crank all his stuff and will have examples on how to handle the messaging and window creation. If you just want less complicated CWnd objects you can create a MDI application without the Document/View Architecture. This gives you the CView without the attached CDocument. Unless you want to be able to use different compliers to compile your code, I would use window wraper classes for my development. They do make life easier. Good Luck, Jonathan Craig

      1 Reply Last reply
      0
      • B B

        Can I create a MDI form with child forms WITHOUT USING MFC? If it's possible, could you show me some code to do it? Thanks a lot in advance! B

        S Offline
        S Offline
        Sam Hobbs
        wrote on last edited by
        #3

        Have you looked in the SDK samples? I would be quite surprised if there are not any samples there. Also I think that the Platform SDK documentation that describes MDI programs would at least have peices of a sample.

        1 Reply Last reply
        0
        • B B

          Can I create a MDI form with child forms WITHOUT USING MFC? If it's possible, could you show me some code to do it? Thanks a lot in advance! B

          S Offline
          S Offline
          Scott Leonard
          wrote on last edited by
          #4

          YES, you can. It's called WTL (Windows Template Library). It's on the Platform SDK, and it's great. You can create full-featured apps without MFC bloat and no dependencies.

          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