custommru.h
来自「< MFC经典问答>>是微软类库经常遇到的问题」· C头文件 代码 · 共 46 行
H
46 行
// CustomMRU.h : main header file for the CUSTOMMRU application
//
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CMDIApp:
// See CustomMRU.cpp for the implementation of this class
//
class CMDIApp : public CWinApp
{
public:
CMDIApp();
void AddRecentString( LPCTSTR lpszString );
// 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 OnFileAddMRUString();
//}}AFX_MSG
// Custom handling for MRU selections
afx_msg BOOL OnOpenRecentFile(UINT nID);
DECLARE_MESSAGE_MAP()
};
// The one and only CMDIApp object
extern CMDIApp theApp;
/////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?