ex11adlg.h

来自「VC++技术内幕(第四版)的实例」· C头文件 代码 · 共 38 行

H
38
字号
// ex11adlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CEx11aDialog dialog

class CEx11aDialog : public CDialog
{
friend class CEx11aView;
private:
    CBitmapButton m_editCopy;
    CBitmapButton m_editCut;
    CBitmapButton m_editPaste;
    int m_nButton; // 1=copy, 2=cut, 3=paste, 0=none
// Construction
public:
    CEx11aDialog(CWnd* pParent = NULL); // standard constructor

// Dialog Data
    //{{AFX_DATA(CEx11aDialog)
    enum { IDD = IDD_BITMAP };
        // NOTE: the ClassWizard will add data members here
    //}}AFX_DATA

// Implementation
protected:
    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

    // Generated message map functions
    //{{AFX_MSG(CEx11aDialog)
    virtual BOOL OnInitDialog();
    afx_msg void OnEditCopy();
    afx_msg void OnEditCut();
    afx_msg void OnEditPaste();
    //}}AFX_MSG
    DECLARE_MESSAGE_MAP()
};

⌨️ 快捷键说明

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