CanEasy COM-Help
CanEasy::_IWorkspaceModuleEvents Interface Reference

Detailed Description

Events provided by the class WorkspaceModule

dispinterface _IWorkspaceModuleEvents
{
properties:
methods:
HRESULT OnLoadWorkspace([in] VARIANT vSavedData, [in] BoolValue *pSuccess);
HRESULT OnSaveWorkspace([in] BoolValue *pSaved);
HRESULT OnUnLoadWorkspace();
HRESULT OnNewWorkspace();
HRESULT OnLoadWorkspaceSync([in] VARIANT vSavedData, [in] BoolValue *pSuccess);
HRESULT OnSaveWorkspaceSync([in] BoolValue *pSaved);
HRESULT OnNewWorkspaceSync();
};

Definition at line 8741 of file cand_tlb.idl.

Member Function Documentation

◆ OnLoadWorkspace()

HRESULT CanEasy::_IWorkspaceModuleEvents::OnLoadWorkspace ( [in] VARIANT  vSavedData,
[in] BoolValue pSuccess 
)

Called when workspace is loaded

◆ OnLoadWorkspaceSync()

HRESULT CanEasy::_IWorkspaceModuleEvents::OnLoadWorkspaceSync ( [in] VARIANT  vSavedData,
[in] BoolValue pSuccess 
)

Called when workspace is loaded from main thread

◆ OnNewWorkspace()

HRESULT CanEasy::_IWorkspaceModuleEvents::OnNewWorkspace ( )

Called new workspace button pressed

◆ OnNewWorkspaceSync()

HRESULT CanEasy::_IWorkspaceModuleEvents::OnNewWorkspaceSync ( )

Called new workspace button pressed from main thread

◆ OnSaveWorkspace()

HRESULT CanEasy::_IWorkspaceModuleEvents::OnSaveWorkspace ( [in] BoolValue pSaved)

Called when workspace is saved

Parameters
pSavedSet to true if save operation was successfully

◆ OnSaveWorkspaceSync()

HRESULT CanEasy::_IWorkspaceModuleEvents::OnSaveWorkspaceSync ( [in] BoolValue pSaved)

Called when workspace is saved from main thread

Parameters
pSavedSet to true if save operation was successfully

◆ OnUnLoadWorkspace()

HRESULT CanEasy::_IWorkspaceModuleEvents::OnUnLoadWorkspace ( )

Called workspace is unloaded

◆ OnUnLoadWorkspaceSync()

HRESULT CanEasy::_IWorkspaceModuleEvents::OnUnLoadWorkspaceSync ( )

Called workspace is unloaded from main thread

CanEasy::_IWorkspaceModuleEvents::OnSaveWorkspaceSync
HRESULT OnSaveWorkspaceSync([in] BoolValue *pSaved)
CanEasy::_IWorkspaceModuleEvents::OnNewWorkspaceSync
HRESULT OnNewWorkspaceSync()
CanEasy::_IWorkspaceModuleEvents::OnUnLoadWorkspace
HRESULT OnUnLoadWorkspace()
CanEasy::_IWorkspaceModuleEvents::OnNewWorkspace
HRESULT OnNewWorkspace()
CanEasy::_IWorkspaceModuleEvents::OnLoadWorkspaceSync
HRESULT OnLoadWorkspaceSync([in] VARIANT vSavedData, [in] BoolValue *pSuccess)
CanEasy::_IWorkspaceModuleEvents::OnUnLoadWorkspaceSync
HRESULT OnUnLoadWorkspaceSync()
CanEasy::_IWorkspaceModuleEvents::OnLoadWorkspace
HRESULT OnLoadWorkspace([in] VARIANT vSavedData, [in] BoolValue *pSuccess)
CanEasy::_IWorkspaceModuleEvents::OnSaveWorkspace
HRESULT OnSaveWorkspace([in] BoolValue *pSaved)