88 lines
2.5 KiB
C++
88 lines
2.5 KiB
C++
#if !defined(AFX_EXECMNGFRAME_H__30010D65_2867_4557_9CB4_E15125740752__INCLUDED_)
|
|
#define AFX_EXECMNGFRAME_H__30010D65_2867_4557_9CB4_E15125740752__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// execmngframe.h : header file
|
|
//
|
|
#include "SptOperator.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CSptMngFrame frame
|
|
class CSptOperator;
|
|
|
|
extern CGeoMativeApp theApp;
|
|
|
|
class CSptMngFrame : public CMDIChildWnd
|
|
{
|
|
DECLARE_DYNCREATE(CSptMngFrame)
|
|
protected:
|
|
CSptMngFrame()
|
|
{
|
|
m_pAppSptView = NULL;
|
|
m_pNavSptView = NULL;
|
|
m_pSptOperator = NULL;
|
|
m_bAutoMenuEnable = FALSE;
|
|
m_pSptOperator = new CSptOperator(theApp.m_pConnection);
|
|
ASSERT(m_pSptOperator != NULL);
|
|
m_bIsActive = FALSE;
|
|
} // protected constructor used by dynamic creation
|
|
|
|
// Attributes
|
|
public:
|
|
BOOL IsActiveMDIWindow(){return m_bIsActive;}
|
|
// Operations
|
|
public:
|
|
CView* m_pNavSptView;
|
|
CView* m_pAppSptView;
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CSptMngFrame)
|
|
public:
|
|
protected:
|
|
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
virtual ~CSptMngFrame();
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CSptMngFrame)
|
|
afx_msg void OnClose();
|
|
afx_msg void OnMDIActivate(BOOL bActivate, CWnd* pActivateWnd, CWnd* pDeactivateWnd);
|
|
afx_msg LRESULT OnSchedule(WPARAM wParam, LPARAM lParam);
|
|
afx_msg LRESULT OnRefresh(WPARAM wParam, LPARAM lParam);
|
|
afx_msg void OnCreateCESConInDB();
|
|
afx_msg void OnDeleteCESConInDB();
|
|
afx_msg void OnCreate2DSConInDB();
|
|
afx_msg void OnCreate2dNonStandardScripts();
|
|
afx_msg void OnCreate3dNonStandardScripts();
|
|
afx_msg void OnDelete2DSConInDB();
|
|
afx_msg void OnCreateScriptFileInOffline();
|
|
afx_msg void OnDeleteScriptFileInLoc();
|
|
afx_msg void OnDeleteSConInDB();
|
|
afx_msg void OnCreate3DSConInDB();
|
|
afx_msg void OnDelete3DSConInDB();
|
|
afx_msg void OnBrowse2DScript();
|
|
afx_msg LRESULT OnCloseFrameWindow(WPARAM wParam, LPARAM lParam);
|
|
afx_msg void OnExport2DSConInDB();
|
|
afx_msg void OnExport3DSConInDB();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
private:
|
|
bool ShowAppView(DWORD dwHandle, UINT uState);
|
|
CSptOperator* m_pSptOperator;
|
|
CSplitterWnd m_splitter;
|
|
BOOL m_bIsActive;
|
|
};
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_EXECMNGFRAME_H__30010D65_2867_4557_9CB4_E15125740752__INCLUDED_)
|