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. Difference between dialog an form?

Difference between dialog an form?

Scheduled Pinned Locked Moved C / C++ / MFC
question
5 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.
  • H Offline
    H Offline
    Hel
    wrote on last edited by
    #1

    What exactly is the difference between a dialog box and a form? Why would one use the one and not the other?

    C 1 Reply Last reply
    0
    • H Hel

      What exactly is the difference between a dialog box and a form? Why would one use the one and not the other?

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      By a form do you mean Winforms, or an SDI/MDI app ? A dialog does not allow you to have floating toolbars, nor does it support doc/view. A dialog is best for simpler apps, or apps that do not use doc/view. Christian come on all you MS suckups, defend your sugar-daddy now. - Chris Losinger - 11/07/2002

      H 1 Reply Last reply
      0
      • C Christian Graus

        By a form do you mean Winforms, or an SDI/MDI app ? A dialog does not allow you to have floating toolbars, nor does it support doc/view. A dialog is best for simpler apps, or apps that do not use doc/view. Christian come on all you MS suckups, defend your sugar-daddy now. - Chris Losinger - 11/07/2002

        H Offline
        H Offline
        Hel
        wrote on last edited by
        #3

        Sorry, stupid of me..:-O I meant to ask why one would choose to derive a class from CFormView instead of CDialog. My fellow programmer asked me and I realized I have no idea why one would need to use CFormView at all. We are both new at Visual C++ programmers and there are still many holes that need filling.

        C 1 Reply Last reply
        0
        • H Hel

          Sorry, stupid of me..:-O I meant to ask why one would choose to derive a class from CFormView instead of CDialog. My fellow programmer asked me and I realized I have no idea why one would need to use CFormView at all. We are both new at Visual C++ programmers and there are still many holes that need filling.

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          No worries - I should have realised. The answer is the same - floating toolbars, doc/view, etc, all useful for a more complex app, but a CFormView allows you to mix that with designing a window full of controls in the resource editor. Christian come on all you MS suckups, defend your sugar-daddy now. - Chris Losinger - 11/07/2002

          H 1 Reply Last reply
          0
          • C Christian Graus

            No worries - I should have realised. The answer is the same - floating toolbars, doc/view, etc, all useful for a more complex app, but a CFormView allows you to mix that with designing a window full of controls in the resource editor. Christian come on all you MS suckups, defend your sugar-daddy now. - Chris Losinger - 11/07/2002

            H Offline
            H Offline
            Hel
            wrote on last edited by
            #5

            thank you!:-D

            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