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  


What is a critical section and how is it implemented?

2 Answers  


1)How to change the size of a button at run time ?

1 Answers  


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

1 Answers   HCL,


General purpose classes in MFC

1 Answers   TCS,






Hi All, I have created one MFC Dialog Based application.now if i am running the application its working fine,instead of closing he application i minimized the application,if i run the application again,i am getting the Dialog. I want to prevent the calling of application multiple times. please give me the code and let me know in which method i need to make changes. Praveer

7 Answers   HP,


What is the difference between hinsrtance and hprevinstance in WinMain function?

3 Answers  


what is the use of AFX_MANAGE_STATE ?

4 Answers   HCL,


How to update windows title bar dynamically?

7 Answers   HCL,


List out the parameters of WinMain Function.

2 Answers   Mphasis,


In SDI how many view's are attached to document object and in MDI how many view's are attached to Document object?

2 Answers   Wipro,


What is the difference between GetMessage and PeekMessage ?

3 Answers  






Categories