closedoc.h

来自「< MFC经典问答>>是微软类库经常遇到的问题」· C头文件 代码 · 共 47 行

H
47
字号
// CloseDoc.h : main header file for the CLOSEDOC application
//

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

#include "resource.h"       // main symbols

/////////////////////////////////////////////////////////////////////////////
// Get a pointer to the active document object

CDocument* MDIGetActiveDocument();

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

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

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

// Implementation

	//{{AFX_MSG(CMDIApp)
	afx_msg void OnAppAbout();
	afx_msg void OnCloseDoc1();
	afx_msg void OnCloseDoc2();
	afx_msg void OnCloseDoc3();
	afx_msg void OnUpdateCloseDoc(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

// The one and only CMDIApp object
extern CMDIApp theApp;

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

⌨️ 快捷键说明

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