Hello,
I am developing an MFC SDI app using VC++ 2005. The view area of the app is divided into four areas (rectangles), each of them contains some icons, texts ect. I am drawing all the things from within "OnDraw" method of the view class.
I need to invalidate the areas depending on the change of data from the other dialogs of my app. I can invalidate the view area from within the main frame. But how do I invalidate the view area from other dialogs

View invalidate problem ...
MESSA
dangrmous
To inform views about changes of data you can use UpdateAllViews that is located in the CDocument class. UpdateAllViews takes also some hints that might be useful to update just parts of your information.
See the Scribble sample.
So after a dialog changed some data in the document just call UpdateAllViews!