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

How we can findout Memoryleaks, In what way it can be avoided

6 Answers   Infosys,


What is the difference between the Encapsulation and Abstraction

25 Answers   HCL, Invensys, TCS, Wipro,


Hi All, I have created one MFC Dialog Based application.now if i am running the application its working fine,instead of closing he application i minimized the application,if i run the application again,i am getting the Dialog. I want to prevent the calling of application multiple times. please give me the code and let me know in which method i need to make changes. Praveer

7 Answers   HP,


List out the basic features of MFC.

4 Answers   Mphasis,


Difference between Debug and Release versions?

4 Answers  






What are the advantages of using Doc/View or SDI over DialogBox

2 Answers  


what is message Testing ?

1 Answers   L&T,


What is userdefine Messages in MFC?

1 Answers   HCL,


is there any class which is not derived from Cobject

11 Answers   Patni,


What is document-view architecture ? Give me one real time example for SDI ?

2 Answers  


What is the use of message map ?

5 Answers   TCS,


What is subclassing?

2 Answers  


Categories