?? mainfrm.h
字號:
// MainFrm.h : CMainFrame 類的接口
//
#pragma once
#include "Environment.h"
class CMainFrame : public CFrameWnd
{
protected: // 僅從序列化創(chuàng)建
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
// 屬性
public:
CEnvironment m_environment; // 環(huán)境變量
CString NOFILTER; // 用于SQL查詢的字符串常量
CString NOSUBFILTER; // 用于SQL查詢的字符串常量
CString FONTNAME; // 字體名稱
int FONTHEIGHT; // 字體高度
double MAX_SCALE; // 最大比例尺
double MIN_SCALE; // 最小比例尺
CImageList *m_pImageList;
BOOL m_bBusTextBox;
// 操作
public:
BOOL CreateDataSet();
BOOL LoadLayerInfos(int nIndex);
void InitialMapIndex();
BOOL LoadIndexInfos(int nIndex);
BOOL InitialLayerCtrlView();
int GetNodeArray2(int* aIndex, CString szType, CString szSubType);
void ReloadLayerCtrlView();
void Position(CString szName);
// 重寫
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
// 實現(xiàn)
public:
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // 控件條嵌入成員
CToolBar m_wndToolBar;
CToolBar m_featureToolBar; // 用于控制顯示地物類型的工具欄
public:
CStatusBar m_wndStatusBar;
CSplitterWnd m_wndSplitter;
CSplitterWnd m_wndSplitter2;
// 生成的消息映射函數(shù)
protected:
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
DECLARE_MESSAGE_MAP()
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
};
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -