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