if i modified data in 1 view how does the other view knows

Answers were Sorted based on User's Feedback



if i modified data in 1 view how does the other view knows..

Answer / mms zubeir

Invoke CDocument::UpdateAllViews() member.

Is This Answer Correct ?    13 Yes 1 No

if i modified data in 1 view how does the other view knows..

Answer / sachin moule

If data get updated you can set all view to get this change
notificaion by CDocument::UpdateAllViw() member funciton

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More MFC Interview Questions

What is #progma and where it is used?

5 Answers   L&T,


What is serialization ?which function is responsible for serializing data ?

5 Answers  


what is the component of CLR ?

8 Answers   AZTEC, Symphony,


How to handle RTTI in MFC ?

1 Answers  


1)How to load an icon on a button as Dynamically ?

1 Answers   HCL,






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,


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  


What function is used to disable a control at runtime?

7 Answers  


2.create for 10 batch: Employee_Number Employee_name Employee_Dateofjoining Employee_address Employee_salary 1.select the employee name who deriving more than 10 thousand salary and joined before august 08. use structure and pointers

0 Answers   TCS,


What is the base class for MFC Framework ?

4 Answers  


What four types of properties are supported by an ActiveX control?

1 Answers  


is there any class which is not derived from Cobject

11 Answers   Patni,


Categories