====== 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 ==== Appplication.onDocumentClose = function() { }; ==== Visual Basic Script ==== function onDocumentClose() { } Appplication.onDocumentClose = onDocumentClose ==== C++ ==== HRESULT CFrameEvents::onDocumentClose(IBaseDocument* pDocument) { } ===== See Also ===== [[:scripting:api:frame-events:start|IFrameEvents]] ~~NOTOC~~