COleServerDoc::OnClose
Called by the framework when a container requests that the server document be closed.
virtual void OnClose(
OLECLOSE dwCloseOption
);
Параметры
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.
Заметки
The default implementation calls CDocument::OnCloseDocument.
For more information and additional values, see OLECLOSE in the Windows SDK.
Требования
Header: afxole.h