Difference between dialog an form?
-
What exactly is the difference between a dialog box and a form? Why would one use the one and not the other?
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
-
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
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.
-
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.
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
-
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