Notiz
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Iech unzemellen oder Verzeechnesser ze änneren.
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Verzeechnesser ze änneren.
Documents contain and manage your application's data. To use the MFC Application Wizard-supplied document class, you must do the following:
Derive a class from
CDocumentfor each type of document.Add member variables to store each document's data.
Override
CDocument'sSerializemember function in your document class.Serializewrites and reads the document's data to and from disk.
Other Document Functions Often Overridden
You may also want to override other CDocument member functions. In particular, you will often need to override OnNewDocument and OnOpenDocument to initialize the document's data members and DeleteContents to destroy dynamically allocated data. For information about overridable members, see class CDocument in the MFC Reference.