Explain about MDI and CMultiDocTemplate ?
Answers were Sorted based on User's Feedback
Answer / mukund
MDI applications are designed using the doc-view
architectures in which there could be many views associated
with a single document object and an application can open
multiple docuements at the same time for eg:WORD.
In MDI terms, your main window is called the Frame, this is
probably the only window you would have in a SDI (Single
Document Interface) program. In MDI there is an additional
window, called the MDI Client Window which is a child of
your Frame window. CMultiDocTemplate is the document
template class used to create MDI applications..The
document template also stores a resource ID that the
framework uses to load menus, accelerators, and other
resources that shape the application's user interface.
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / c.vidhya
To Established the relationship between CView and CDocument
with Cdoctemplate and CMultidoctemplate.Cdoctemplate for
SDI and CMultidoctemplate for MDI
| Is This Answer Correct ? | 3 Yes | 6 No |
What function is called by a document class to notify views that the document has been changed?
How to handle dynamic menus in mfc? What happens when client calls cocreateinstance?
how do u identify RTTI in vc++
What is primitive and non-primitive application?
What is #progma and where it is used?
what is the use of Mutex and critical section
Will there be any difference in the image buffer size if it is loaded in from CString to LPTSTR using GetBuffer()? lptstr = string.GetBuffer(0);
how does the UIThread and worker thread communicates and handle events
How many types of dialog box are their
How can i change the color of a dropdowncombobox elements
What are the differences between MFC Exception macros and C++ exception keywords?
What is socket?