playerhistorydlg.h

来自「一个在Pocket PC上运行的贪食蛇游戏」· C头文件 代码 · 共 56 行

H
56
字号
#if !defined(AFX_PLAYERHISTORYDLG_H__F2C12E55_5CFB_4333_B7F2_00861D29C4CC__INCLUDED_)
#define AFX_PLAYERHISTORYDLG_H__F2C12E55_5CFB_4333_B7F2_00861D29C4CC__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CPlayerHistoryDlg dialog
class CSnakeDoc;
class CSnakeView;

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

// Dialog Data
	//{{AFX_DATA(CPlayerHistoryDlg)
	enum { IDD = IDD_PLAYERHISTORY };
	CListCtrl	m_ListHistory;
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

//Attributes
public:	
	CString m_name;
	ULONG   m_score;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPlayerHistoryDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPlayerHistoryDlg)	
	afx_msg void OnButtonDelete();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_PLAYERHISTORYDLG_H__F2C12E55_5CFB_4333_B7F2_00861D29C4CC__INCLUDED_)

⌨️ 快捷键说明

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