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. ====== CanCloseApplication ====== Event of [[:scripting:api:frame-events:start|IFrameEvents]] ===== Description ===== Called to determine if application can be closed ===== Parameters ===== ==== Return Value ==== * [[scripting:api:data-type:VARIANT_BOOL|VARIANT_BOOL]] **pbResult** ===== Syntax ===== ==== JavaScript ==== <code javascript> Appplication.CanCloseApplication = function() { return pbResult; }; </code>==== Visual Basic Script ==== <code vb> function CanCloseApplication() { return pbResult } Appplication.CanCloseApplication = CanCloseApplication </code>==== C++ ==== <code cpp> HRESULT CFrameEvents::CanCloseApplication(VARIANT_BOOL* pbResult) { } </code>===== See Also ===== [[:scripting:api:frame-events:start|IFrameEvents]] ~~NOTOC~~