Can't you use the CView::OnUpdate() override?
Thats the 'proper' place to respond to the contents of a
new document...
>-----Original Message-----
>Hi All,
>
>I'm in a real pickle trying to figure this one out.
>
>I want to know when a file has been opened successfully.
In my app,
>files can either be loaded from the menu bar (File|Open
or MRU), or they
>are opened programmatically by calling OpenDocumentFile.
I want to be
>able to step in to the creation process at the point when
the document
>has loaded the child frame and the view has been created.
>
>The second of these two cases is easy - I'm calling
OpenDocumentFile, so
>when it returns, I'm at the point that I want to be. But
what about when
>the user has opened the file manually?
>
>Does such a method exist within the CDocument class that
I could overload?
>
>Thanks in advance,
>
> Paul.
>
>.
>