mainfrm.h
来自「用VC+SuperMap开发的校园GIS系统」· C头文件 代码 · 共 90 行
H
90 行
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__1EC9767A_25AD_4E66_B557_827394691B88__INCLUDED_)
#define AFX_MAINFRM_H__1EC9767A_25AD_4E66_B557_827394691B88__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "superworkspace.h"
#include "superlegend.h"
#include "superwkspmanager.h"
#include "supermap.h"
#include "QueryDlg.h"
#include "ManagerDlg.h"
class CMainFrame : public CMDIFrameWnd
{
DECLARE_DYNAMIC(CMainFrame)
public:
CMainFrame();
// Attributes
public:
// Operations
// CSplitterWnd m_wndSplitter;
CSuperWorkspace m_SuperWorkspace;
// CSuperWkspManager *m_Manager;
CManagerDlg m_dlgBar;
CQueryDlg *m_pQueryDlg;
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual BOOL DestroyWindow();
//}}AFX_VIRTUAL
// Implementation
public:
void ImportDataset();
CCampusGisApp* GetpApp();
CSuperMap* GetSuperMap();
CSuperWkspManager* GetManager();
void SupermapRefresh();
void WorkspManagerRefresh();
CString GetWorkspaceName();
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // control bar embedded members
CStatusBar m_wndStatusBar;
CToolBar m_wndToolBar;
// CSuperLegend m_SuperLegend;
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnFileOpen();
afx_msg void OnOpenWorkspace();
afx_msg void OnSaveworkspace();
afx_msg void OnSaveasWorkspace();
afx_msg void OnCloseWorkspace();
afx_msg void OnFileNew();
afx_msg void OnCreateDataset();
afx_msg void OnAppenddatasetRow();
afx_msg void OnDatasetCopy();
afx_msg void OnImportDataset();
afx_msg void OnExportDataset();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINFRM_H__1EC9767A_25AD_4E66_B557_827394691B88__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?