Thanks but I have already found the answer to my question. If we return FALSE in the OnNewDocument() function in the Document's class, OnFileNew() doesn't create the window.
Ricardo
Hi! I'm developping a Multiple Document Interface in Visual C++ 6 with MFC and I would like to know how can I prevent that my application doesn't create a new document when it starts (that is, opens with no child windows). I know that starter applications generated by AppWizard call OnFileNew()...