A simple example how to create a full MFC view/document application and saving the data into file using Save/Open.