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 is the difference between compiling and building?
is there any class which is not derived from Cobject
What is the use of message map ?
What view class enables you to use an edit control as a view?
What is the initial function to be called in MFC and what it will do
What is the difference between Synchronous sockets and asynchronous sockets?
Which Macro is a Super set of other two macro DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREATE. ?
Which CPrintInfo member variable must be set for multiple page printouts?
What is primitive and non-primitive application?
how u can move CDC pointer to one line in cview?
How can i change the color of a dropdowncombobox elements
Have you ever used win32 APIs ?