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 |
How we can findout Memoryleaks, In what way it can be avoided
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
List out the basic features of MFC.
Difference between Debug and Release versions?
What are the advantages of using Doc/View or SDI over DialogBox
what is message Testing ?
What is userdefine Messages in MFC?
is there any class which is not derived from Cobject
What is document-view architecture ? Give me one real time example for SDI ?
What is the use of message map ?
What is subclassing?