Sign in to follow this  

MFC and New Documents

Recommended Posts

I am just starting to try and get to grips with MFC. My application needs parameters to create a documents, but MFC seems to always want to start with an empty document. This means in my onfilenew on the application object where I have it call the dialog to get this information is popping up everytime the application is run. This is not good because the user may want to just open an existing document. How can I get it to either not create a document on startup, OR just have the dialog show when they select new from the menu, and just have a default parameterized document to start with no popup? Thanks

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this