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 can server communicate with more than one client
What are the advantages of using Doc/View or SDI over DialogBox
What function is used to retrieve the currently selected index in a list box?
How we call a dialog in another dialog?
Types of DLL's
What are the differences between MFC Exception macros and C++ exception keywords?
1)set the Title for The File DialogBox, in MFC?
Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A. Explain how a pointer to function can be declared in C++? B. List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header ("Include") Files.
Have you ever used win32 APIs ?
Can you explaing the relashionship between document,frame and view ?
What is subclassing?
1)how to Display the File Dialog Box, in MFC ?