twoviews.h

来自「《MFC经典问答》pdf格式 拿出来大家共享一下」· C头文件 代码 · 共 51 行

H
51
字号
// TwoViews.h : main header file for the MULTIVIEWS application
//

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

#include "resource.h"       // main symbols

/////////////////////////////////////////////////////////////////////////////
// CMDIApp:
// See TwoViews.cpp for the implementation of this class
//

#include "EkMultiViewTemplate.h"

class CMDIApp : public CWinApp
{
public:
	CMDIApp();

	// Member variables used to store the various
	// document templates objects that we create in
	// InitInstance()
	CMultiDocTemplate* m_ptDrawing1;
	CMultiDocTemplate* m_ptDrawing2;

	CEkMultiViewTemplate* m_ptCounter1;
	CMultiDocTemplate* m_ptCounter2;

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

// Implementation

	//{{AFX_MSG(CMDIApp)
	afx_msg void OnAppAbout();
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

extern CMDIApp theApp;

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

⌨️ 快捷键说明

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