defdialog.h

来自「用Visual C++实现的扫雷程序。基本功能都已实现。用到了很多VC的控件知识」· C头文件 代码 · 共 59 行

H
59
字号
#if !defined(AFX_DEFDIALOG_H__74B540CD_12E1_46A7_BE49_27F31730E404__INCLUDED_)
#define AFX_DEFDIALOG_H__74B540CD_12E1_46A7_BE49_27F31730E404__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DEFDIALOG.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// DEFDIALOG dialog

class DEFDIALOG : public CDialog
{
// Construction
public:
	DEFDIALOG(CWnd* pParent = NULL);   // standard constructor
    CEdit WindowWidth;
	CEdit WindowHeigh;
    CEdit WindowBombNum;
    CString Width;
	CString Heigh;
	CString BombNum;
// Dialog Data
	//{{AFX_DATA(DEFDIALOG)
	enum { IDD = IDD_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(DEFDIALOG)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(DEFDIALOG)
	virtual BOOL OnInitDialog();
	afx_msg void OnCancel();
	afx_msg void OnOk();
	afx_msg void OnChangeEdit1();
	afx_msg void OnChangeEdit2();
	afx_msg void OnChangeEdit3();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DEFDIALOG_H__74B540CD_12E1_46A7_BE49_27F31730E404__INCLUDED_)

⌨️ 快捷键说明

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