Advertisement Jump to content
Sign in to follow this  

MFC and New Documents

This topic is 4954 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!