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. How to know the type of application?

How to know the type of application?

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

    Hi All Suppose i've a VC+ project. how ll i know wheather its a SDi or MDI or dailogbased project? Regards Phillip

    Regards Phillip

    D J E 3 Replies Last reply
    0
    • C Cool_Phillip

      Hi All Suppose i've a VC+ project. how ll i know wheather its a SDi or MDI or dailogbased project? Regards Phillip

      Regards Phillip

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Cool_Phillip wrote:

      how ll i know wheather its a SDi or MDI or dailogbased project?

      By looking at it?

      "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

      C 1 Reply Last reply
      0
      • C Cool_Phillip

        Hi All Suppose i've a VC+ project. how ll i know wheather its a SDi or MDI or dailogbased project? Regards Phillip

        Regards Phillip

        J Offline
        J Offline
        Jerry Wang
        wrote on last edited by
        #3

        Try to create each one of the 3 types project, look at what is difference, the main difference is CMainFrame

        C 1 Reply Last reply
        0
        • C Cool_Phillip

          Hi All Suppose i've a VC+ project. how ll i know wheather its a SDi or MDI or dailogbased project? Regards Phillip

          Regards Phillip

          E Offline
          E Offline
          Eytukan
          wrote on last edited by
          #4

          You can use a mirror. Just keep it in front your monitor, stand behind your monitor and the mirron will reveal what kinda application is it. Or you can use a simple see-through glass and sit in the usual place. That's how I do it every time. As our mate just said above, create 3 different apps of each type & you will know. Hints: 1. Dialog applications : Calculator 2. SDI : Mspaint, Notepad 3. MDI : MSWORD, Excel.

          He never answers anyone who replies to him. I've taken to calling him a retard, which is not fair to retards everywhere.-Christian Graus

          1 Reply Last reply
          0
          • D David Crow

            Cool_Phillip wrote:

            how ll i know wheather its a SDi or MDI or dailogbased project?

            By looking at it?

            "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

            "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

            C Offline
            C Offline
            Cool_Phillip
            wrote on last edited by
            #5

            DavidCrow wrote:

            By looking at it?

            Hi thanx for reply. But how come i'll know the type by looking at code. my project doesn't ve any CFramewnd, or CDoc.

            Regards Phillip

            D 1 Reply Last reply
            0
            • J Jerry Wang

              Try to create each one of the 3 types project, look at what is difference, the main difference is CMainFrame

              C Offline
              C Offline
              Cool_Phillip
              wrote on last edited by
              #6

              Thank you very much.

              Regards Phillip

              1 Reply Last reply
              0
              • C Cool_Phillip

                DavidCrow wrote:

                By looking at it?

                Hi thanx for reply. But how come i'll know the type by looking at code. my project doesn't ve any CFramewnd, or CDoc.

                Regards Phillip

                D Offline
                D Offline
                David Crow
                wrote on last edited by
                #7

                Cool_Phillip wrote:

                But how come i'll know the type by looking at code.

                Look at what is in the InitInstance() method.

                "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

                "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                C 1 Reply Last reply
                0
                • D David Crow

                  Cool_Phillip wrote:

                  But how come i'll know the type by looking at code.

                  Look at what is in the InitInstance() method.

                  "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

                  "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                  C Offline
                  C Offline
                  Cool_Phillip
                  wrote on last edited by
                  #8

                  Thank you very much.

                  Regards Phillip

                  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