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 Problem!!!!!!!!

MDI Problem!!!!!!!!

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestion
5 Posts 3 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.
  • M Offline
    M Offline
    MFC is the Best
    wrote on last edited by
    #1

    hello! i make a vc++ programm with a mdi. everytime, when i start the programm a empty document is open. what must i change, that the empty document is not there at the beginning? thanks MFC is the best

    J 1 Reply Last reply
    0
    • M MFC is the Best

      hello! i make a vc++ programm with a mdi. everytime, when i start the programm a empty document is open. what must i change, that the empty document is not there at the beginning? thanks MFC is the best

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

      Find the code: CCommandLineInfo cmdInfo; ParseCommandLine(cmdInfo); and add: cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing Papa while (TRUE) Papa.WillLove ( Bebe ) ;

      M 2 Replies Last reply
      0
      • J jmkhael

        Find the code: CCommandLineInfo cmdInfo; ParseCommandLine(cmdInfo); and add: cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing Papa while (TRUE) Papa.WillLove ( Bebe ) ;

        M Offline
        M Offline
        MFC is the Best
        wrote on last edited by
        #3

        i ask the same question a few hours ago, sorry, and the person who answerd me said something like that, too. i tried your version, but it doesn't work. i don't know why, the empty document still come at the beginning. do you have another idea, or did i made a mistake??? i found the code in: programmname.cpp!!!! hope you can help me.

        T 1 Reply Last reply
        0
        • J jmkhael

          Find the code: CCommandLineInfo cmdInfo; ParseCommandLine(cmdInfo); and add: cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing Papa while (TRUE) Papa.WillLove ( Bebe ) ;

          M Offline
          M Offline
          MFC is the Best
          wrote on last edited by
          #4

          everything is okay.....i found the mistake....thank you very much!!!!!! :rose::rose::rose:

          1 Reply Last reply
          0
          • M MFC is the Best

            i ask the same question a few hours ago, sorry, and the person who answerd me said something like that, too. i tried your version, but it doesn't work. i don't know why, the empty document still come at the beginning. do you have another idea, or did i made a mistake??? i found the code in: programmname.cpp!!!! hope you can help me.

            T Offline
            T Offline
            Tomasz Sowinski
            wrote on last edited by
            #5

            Post the code from CYourApp::InitInstance Tomasz Sowinski -- http://www.shooltz.com

            *** Vodka. Connecting people. ***

            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