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 thread & process?

15 Answers   Exaband,


What is the difference between ASSERT and VERIFY?

2 Answers  


What is #progma and where it is used?

5 Answers   L&T,


Tell me about different kinds of synchranization objects ?

6 Answers  


what is message loop how mfc does it internally?

4 Answers   Aspire,


What is userdefine Messages in MFC?

1 Answers   HCL,


How you create a button dynamically?

2 Answers  


List out the parameters of WinMain Function.

2 Answers   Mphasis,


how does conditionally close the Dialog Box ?

2 Answers   Infotech,


what if we provide two message handler for same message ?

1 Answers  


What function is called by a document class to notify views that the document has been changed?

2 Answers  


What is a message map?

1 Answers   Mphasis,


Categories