Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== onDocumentClose ====== Event of [[:scripting:api:frame-events:start|IFrameEvents]] ===== Description ===== Called when before document closed ===== Parameters ===== * [[:scripting:api:base-document:start|IBaseDocument]] **pDocument** ===== Syntax ===== ==== JavaScript ==== <code javascript> Appplication.onDocumentClose = function() { }; </code>==== Visual Basic Script ==== <code vb> function onDocumentClose() { } Appplication.onDocumentClose = onDocumentClose </code>==== C++ ==== <code cpp> HRESULT CFrameEvents::onDocumentClose(IBaseDocument* pDocument) { } </code>===== See Also ===== [[:scripting:api:frame-events:start|IFrameEvents]] ~~NOTOC~~