scripting:api:frame-events:on-document-switch

onDocumentSwitch

Event of IFrameEvents

Called when active document has been changed

Appplication.onDocumentSwitch = function() {
 
};
function onDocumentSwitch()
{
 
}
 
Appplication.onDocumentSwitch = onDocumentSwitch
HRESULT CFrameEvents::onDocumentSwitch(IBaseDocument* pActiveDocument)
{
 
}