Can you explaing the relashionship between document,frame
and view ?
Answers were Sorted based on User's Feedback
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 |
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 |
What MFC base classes provide support for ActiveX controls?
What is the use of UpdateData funciton ?
How do I create a dialog box in mfc?
What is the difference between ASSERT and VERIFY?
What?s the difference between Modal and Modeless Dialog?
If application hangs while SendMessage is waiting for the result, how you handle it?
What is the difference between Struts and JSF? Pls list some most suitable differences.
how to repaint when working with horizontal scroll bar
If i derive a new class from CObject what are the basic features my derived wil get ?
what is the difference between compiling and building?
What is LoadLibrary function returns?
1)How to create ToolTip in MFC?