editor.h

来自「Embedded vc++下开发的可编辑地图程序」· C头文件 代码 · 共 54 行

H
54
字号
// editor.h : main header file for the EDITOR application
//

#if !defined(AFX_EDITOR_H__B79FD889_6F4E_4A41_AFBE_8C029A09BC44__INCLUDED_)
#define AFX_EDITOR_H__B79FD889_6F4E_4A41_AFBE_8C029A09BC44__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"       // main symbols

/////////////////////////////////////////////////////////////////////////////
// CEditorApp:
// See editor.cpp for the implementation of this class
//

class CEditorApp : public CWinApp
{
public:
	CEditorApp();
public:
	CSeWorkSpace  m_WorkSpace;	//添加一个变量,用以打开PMF文件
	

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CEditorApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CEditorApp)
	afx_msg void OnAppAbout();
	afx_msg void OnAppExit();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

extern CEditorApp theApp;//声明一个全局变量,以便其他地方可以使用

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_EDITOR_H__B79FD889_6F4E_4A41_AFBE_8C029A09BC44__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?