SECWorkspaceManager Class

class SECWorkspaceManager: public CCmdTarget

Mechanism for saving and restore application window state.

Defined in: secwsmgr.h

Developer Notes

The SECWorkspaceManager class should be considered obsolete and is provided solely for backward compatibility. All new development should utilize the SECWorkspaceManagerEx class.

See Also

SECWorkspaceManagerEx

Class Members

Construction/Initialization

SECWorkspaceManager()

Constructor

BOOL Create(CWinApp* pWinApp,CString strWorkspaceMgrKey)

Initialize the workspace manager

BOOL Create(CString strWorkspaceMgrKey)

Initialize the workspace manager

Operations

void AddWindow(CWnd* pWnd)

Add new window to workspace open window list

void RemoveWindow(CWnd* pWnd)

Remove window from workspace open window list

void CloseAllWindows()

Close all windows configured via AddWindow

void SetActiveWorkspace(CString& strActiveWorkspace)

Set a new active workspace

virtual void OpenWorkspace(CString strWorkspaceName)

Open a new workspace

virtual void SaveWorkspace(CString strWorkspaceName)

Save existing workspace

virtual BOOL RenameWorkspace(CString strOldName,CString strNewName)

Rename workspace

virtual BOOL CreateNewWorkspace(CString strWorkspaceName)

Create a new workspace

virtual BOOL DeleteWorkspace(CString strWorkspaceName)

Delete Workspace

virtual void CloseActiveWorkspace()

Close currently active workspace