OnAppCloseActiveDocument Method

The client application is responsible for implementing an OnAppCloseActiveDocument event handler for some of the supported FileNet Application Integration commands. This event handler method should close the active document.

Example
The following fragment is taken from the Add-In Sample Application.


HRESULT __stdcall CEventHandler::OnAppCloseActiveDocument()
{
   m_pDocument->CloseDocument();
   return S_OK;
}
Parameters
None.
Return
The OnAppCloseActiveDocument event handler method should return an HRESULT value of S_OK when successful.
See Also
OnAppExistsActiveDocument Method
OnAppIsActiveDocumentModified Method
OnAppIsActiveDocumentNew Method
OnAppSaveModifiedActiveDocument Method
OnAppSaveNewActiveDocument Method