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

I want recent paper pattern for HP company?

0 Answers   HP,


What is #progma and where it is used?

5 Answers   L&T,


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

2 Answers  


How to setup a timer?

3 Answers   IBM,


what is the size of a process

2 Answers   E Logic, IBM,






Given two processes, how can they share memory?

2 Answers   Microsoft,


i have created runtime menu -- ( admistrator ->managepackage,manage module). but now i want to open a dialog when i select manage package and any other diaolg when selecting manage module ( whole selection is at run time only ) . Please HELP .its urgently required

3 Answers   Patni,


What is the difference between the SDI and MDI

3 Answers   Invensys,


How you create a button dynamically?

2 Answers  


what are the feauters of CObject

4 Answers   Siemens, Wipro,


What is the difference between Synchronous sockets and asynchronous sockets?

2 Answers  


How to handle RTTI in MFC ?

1 Answers  


Categories