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

Differ GetMessage, PostMessage & PeakMessage?

4 Answers   Symphony,


1)To Remove WS_MINIMIZEBOX in a Frame ?

1 Answers  


Tell me the work of HTREDUCE and HTZOOM

1 Answers   E Logic,


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

2 Answers  


Types of DLL's

11 Answers   Invensys,






What MFC base classes provide support for ActiveX controls?

2 Answers   Wipro,


What is the base class for MFC

3 Answers   HCL,


How to update all the views whenver document got updated ?

1 Answers  


What is Multithreading

1 Answers   Invensys,


What are the differences between MFC Exception macros and C++ exception keywords?

2 Answers  


What types of threads are supported by MFC framework?

2 Answers  


What is CALLBACK? How it work? what is the advantage of CALLBACK, please explain with an example

6 Answers  


Categories