Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Called by the framework as part of the File Save or File Save As command.
virtual BOOL OnSaveDocument(
LPCTSTR lpszPathName
);
Parameters
- lpszPathName
Points to the fully qualified path to which the file should be saved.
Return Value
Nonzero if the document was successfully saved; otherwise 0.
Remarks
The default implementation of this function opens the specified file, calls CObject::Serialize to write the document's data to the file, and then marks the document as clean. Override this function if you want to perform special processing when the framework saves a document. For example, you might write an application where documents represent records in a database rather than separate files.
Requirements
Header: afxwin.h