guessthenumdlg.h

来自「猜数游戏,使用EVC实现。四位数」· C头文件 代码 · 共 62 行

H
62
字号
// GuessTheNumDlg.h : header file
//

#if !defined(AFX_GUESSTHENUMDLG_H__B501A505_404C_485B_A37E_5D139DAD261E__INCLUDED_)
#define AFX_GUESSTHENUMDLG_H__B501A505_404C_485B_A37E_5D139DAD261E__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000


/////////////////////////////////////////////////////////////////////////////
// CGuessTheNumDlg dialog

class CGuessTheNumDlg : public CDialog
{
// Construction
public:
	CGuessTheNumDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CGuessTheNumDlg)
	enum { IDD = IDD_GUESSTHENUM_DIALOG };
	int		m_thousand;
	int		m_hundred;
	int		m_tenth;
	int		m_single;
	int		m_bs;
	int		m_as;
	int		m_Num;
	int		m_score;
	int		m_times;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGuessTheNumDlg)
	public:
	protected:
		virtual void DoDataExchange(CDataExchange* pDX);
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CGuessTheNumDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnNewgame();
	afx_msg void OnCompare();
	afx_msg void OnChange();
	afx_msg void OnOver();
	afx_msg void OnDisplaynum();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_GUESSTHENUMDLG_H__B501A505_404C_485B_A37E_5D139DAD261E__INCLUDED_)

⌨️ 快捷键说明

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