ex22c.h

来自「vc++技术内幕范例」· C头文件 代码 · 共 41 行

H
41
字号
#include "resource.h"

class CEx22cApp : public CWinApp
{
public:
    virtual BOOL InitInstance();
};

// MDI frame window class
class CMainFrame : public CMDIFrameWnd
{
public:
    CMainFrame();
protected:
    //{{AFX_MSG(CMainFrame)
    afx_msg void OnFileNew();
    afx_msg void OnWindowCloseAll();
    afx_msg void OnUpdateWindowCloseAll(CCmdUI* pCmdUI);
    afx_msg void OnClose();
    afx_msg BOOL OnQueryEndSession();
    //}}AFX_MSG
    DECLARE_MESSAGE_MAP()
protected:
    BOOL CloseAllChildWindows();
};

// MDI child frame window class
class CChildFrame : public CMDIChildWnd
{
public:
    static int NEAR nChild;
    CChildFrame(BOOL bMaximized = FALSE);
protected:
    //{{AFX_MSG(CChildFrame)
    afx_msg void OnPaint();
    afx_msg void OnFileClose();
    afx_msg void OnClose();
    //}}AFX_MSG
    DECLARE_MESSAGE_MAP()
};

⌨️ 快捷键说明

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