COleServerDoc::OnClose
virtualvoidOnClose(OLECLOSEdwCloseOption**);**
Parameters
dwCloseOption
A value from the enumeration OLECLOSE. This parameter can have one of the following values:
OLECLOSE_SAVEIFDIRTY The file is saved if it has been modified.
OLECLOSE_NOSAVE The file is closed without being saved.
OLECLOSE_PROMPTSAVE If the file has been modified, the user is prompted about saving it.
Remarks
Called by the framework when a container requests that the server document be closed. The default implementation calls CDocument::OnCloseDocument.
For more information and additional values, see in the OLE documentation.
COleServerDoc Overview | Class Members | Hierarchy Chart
See Also COleException, CDocument::OnCloseDocument