Can you explaing the relashionship between document,frame
and view ?

Answers were Sorted based on User's Feedback



Can you explaing the relashionship between document,frame and view ?..

Answer / jianhua wang

Frame is a kind of window and view is a kind of window too.
A frame can contains child frames like MDI application,
views and documents. A frame window can have toolbar,
control bar, menu or status bar. A view is a child of a
frame window. More than one view can share a frame window,
as in the case of a splitter window. A view can be attached
to only one document, but a document can have multiple views
attached to it.

Is This Answer Correct ?    8 Yes 0 No

Can you explaing the relashionship between document,frame and view ?..

Answer / suganthi

The relationship between a view class, a frame window class,
and a document class is established by a CDocTemplate
object. When the user opens a new window or splits an
existing one, the framework constructs a new view and
attaches it to the document.

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More MFC Interview Questions

What function is used to disable a control at runtime?

7 Answers  


I have 2 threads. One thread prints odd numbers and the second thread prints even numbers. Now, I have to execute the threads alternatively so that i can output 1,2,3,4,5,6,..... write code for this?

1 Answers  


What is the difference between Struts and JSF? Pls list some most suitable differences.

0 Answers  


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.

3 Answers   ABC, HCL, Infosys,


what is the difference between compiling and building?

1 Answers  






How to access document object from view ?

1 Answers  


How do you change the properties for a tree view control that is part of the CTreeView class?

1 Answers  


Will there be any difference in the image buffer size if it is loaded in from CString to LPTSTR using GetBuffer()? lptstr = string.GetBuffer(0);

2 Answers  


1)dynamic creation of a Button ?

2 Answers   TCS,


What is the initial function to be called in MFC and what it will do

11 Answers   Infosys,


What is the size of class

18 Answers   Aircom,


List out the basic features of MFC.

4 Answers   Mphasis,


Categories