Explain about MDI and CMultiDocTemplate ?

Answers were Sorted based on User's Feedback



Explain about MDI and CMultiDocTemplate ?..

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

Explain about MDI and CMultiDocTemplate ?..

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

Post New Answer

More MFC Interview Questions

1)why we cant create more than one instance of the class Derived from CWinApp

5 Answers   Alstom,


What are the types of button controls?

10 Answers  


What is subclassing?

2 Answers  


How we call a dialog in another dialog?

2 Answers  


Explain about MDI and CMultiDocTemplate ?

2 Answers  






1)How to change a text of a button in runtime?

2 Answers  


1)does Frame Thickness in MFC?

1 Answers   winfoware,


is it possible to display a window .without using windowclass

1 Answers   E Logic,


Difference between Debug and Release versions?

4 Answers  


What is mfc class hierarchy?

0 Answers  


How to handle dynamic menus in mfc? What happens when client calls cocreateinstance?

0 Answers  


Hi can anyone explain about the synchronization objects types and where we are using in the code.

1 Answers  


Categories