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

how u can move CDC pointer to one line in cview?

2 Answers  


Differ GetMessage, PostMessage & PeakMessage?

4 Answers   Symphony,


What is model and modeless dialog box ? Give some examples?

2 Answers   Mphasis,


What function is used to retrieve the currently selected index in a list box?

2 Answers  


How to create a Modeless Dialog?

5 Answers  






How to find the mouse entering an image?..while entering need to display next image...

4 Answers  


1)How to change a text of a button in runtime?

2 Answers  


What is the difference between the SDI and MDI

3 Answers   Invensys,


how can u change button shape at run time

3 Answers   Samsung,


How WM_PAINT message gets called in MFC,please explain it . a)Who calls the WM_PAINT message? b)When it gets called? c)how it comes to message queue? Please Explain it

8 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 if we provide two message handler for same message ?

1 Answers  


Categories