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 function is used to disable a control at runtime?
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?
What is the difference between Struts and JSF? Pls list some most suitable differences.
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.
what is the difference between compiling and building?
How to access document object from view ?
How do you change the properties for a tree view control that is part of the CTreeView class?
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);
1)dynamic creation of a Button ?
What is the initial function to be called in MFC and what it will do
What is the size of class
List out the basic features of MFC.