📄 getactivedoc.h
字号:
// GetActiveDoc.h : main header file for the GETACTIVEDOC 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 GetActiveDoc.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 OnFileActiveDocument();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
// The one and only CMDIApp object
extern CMDIApp theApp;
/////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -