MFC: Accessing Frame window from the Document
What is the correct way to access the frame from the document class?
Here is the deal: Part of the CDocument derived class changed, and as a result, I want the text in the statusbar (a member variable in the frame class) to be updated.
And actually it seems like it should be the View class that detects that the document has changed, and then the view should update the statusbar. But either way, is there a standard way of doing this? If so, what is it?