gamesetup.h

来自「随手写的小游戏」· C头文件 代码 · 共 62 行

H
62
字号
#if !defined(AFX_GAMESETUP_H__06C08B43_2294_4BD8_BADA_D9BE495DFCE4__INCLUDED_)
#define AFX_GAMESETUP_H__06C08B43_2294_4BD8_BADA_D9BE495DFCE4__INCLUDED_

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

#include "PageSerNo.h"
#include "PageHitIt.h"

/////////////////////////////////////////////////////////////////////////////
// CGameSetup

class CGameSetup : public CPropertySheet
{
	DECLARE_DYNAMIC(CGameSetup)

// Construction
public:
	CGameSetup(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
	CGameSetup(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);

// Attributes
public:

	CPageSerNo		m_PageSerialNo;
	CPageHitIt		m_PageHitIt;

	CWnd			*m_pParentWnd;
// Operations
public:

	BOOL Create(CWnd  *pParent);
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGameSetup)
	public:
//	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
	//}}AFX_VIRTUAL

// Implementation
public:
	void AddPages();
	virtual ~CGameSetup();

	// Generated message map functions
protected:
	//{{AFX_MSG(CGameSetup)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_GAMESETUP_H__06C08B43_2294_4BD8_BADA_D9BE495DFCE4__INCLUDED_)

⌨️ 快捷键说明

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