What are some differences between a form view and a dialog
box?
Answers were Sorted based on User's Feedback
Answer / prakash
form view is deriving from CFormView and dialog box is
deriving from CDialog.
FormView uses CFrameWnd and it can be SDI or MDI application
Dialog box only uses CDialog and CWinApp.
| Is This Answer Correct ? | 16 Yes | 1 No |
Answer / nandan
a CDialog can be used to create a dialog-based app, or a
modeless dialog, or a modal dialog. A CFormView is used when
you want a view on a
document/view interface
The only significant difference is that to do initialization
in a CDialog you put it in
OnInitDialog, but for a CFormView you put it in OnInitialUpdate.
| Is This Answer Correct ? | 9 Yes | 3 No |
Do I need microsoft visual c++ 2005 redistributable on my computer?
Is visual c++ the same as c++?
What is more efficient to pass as a parameter--a pointer or an object? Why?
What is splitter window in vc++?
#include<stdio.h>int(){int a,*b,**c,***d,****e; a=10;b=&a;c=&b;d=&c;e=&c;printf("a=%d b=%u c=%u d=% e=%u",a,b,c,d,e);printf ("%d%d%d\n",a,a+?*b,**c+***d+,****e);return0;}
What is the difference between an MLE and an SLE?
what is the difference between the codes written in the document class and view class
What is the use of message map? Advantages of a message map.
What Is Your Greatest Weakness?
4 Answers Apple, Infosys, IOCL, Servion, TCS, VisionTek,
What is a transparent image?
What is the default label used for in a switch statement?
Explain the advantages of cwinthread class.