Quote Originally Posted by sunnysky View Post
Thanks Victor. So this way still comply with the Document/View architecture. From MSDN, http://msdn.microsoft.com/en-us/libr...v=vs.100).aspx I also found "Override this function if you want to use something other than the archive mechanism or the file mechanism."

Is it a good practice to call CDocument::OnOpenDocument() at the beginning of the new OnOpenDocument() function?
Sounds like you need to step through the MFC code and get a better understanding of how it all works.