boxmanwnd.h

来自「呵呵 ...也是不错的源代码,在这可以让你学很多的知识的」· C头文件 代码 · 共 78 行

H
78
字号
/*++

Copyright (c) AFE(Active-Free-Elegance)

Module Name:

     BoxManWnd.h

Abstract:

The Main Frame Class of the Game.

Author:

    Weijian Luo (Arthur Luo)   15-Jun-2005

	E-mail: skybluehacker@yahoo.com.cn

Revision History:      1.0

--*/
#if !defined(AFX_BOXMANWND_H__7828B348_6D29_4C3B_977D_7285BA9FE7EC__INCLUDED_)
#define AFX_BOXMANWND_H__7828B348_6D29_4C3B_977D_7285BA9FE7EC__INCLUDED_

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

#include "BoxMan.h"

/////////////////////////////////////////////////////////////////////////////
// CBoxManWnd frame

class CBoxManWnd : public CWnd
{
	DECLARE_DYNCREATE(CBoxManWnd)
public:
	CBoxManWnd();           // protected constructor used by dynamic creation

// Attributes
public:
	CBoxMan m_boxMan;           // 
	CMenu*		m_pSubMenu;		// 主菜单记录指针
	BOOL   m_bSound;            //  是否启用声音标记
// Operations
public:
void SetCheckSound(void);
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBoxManWnd)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CBoxManWnd();

	// Generated message map functions
	//{{AFX_MSG(CBoxManWnd)
	afx_msg void OnMenuGameExit();
	afx_msg void OnPaint();
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnMenuGameHelp();
	afx_msg void OnMenuGameLevel();
	afx_msg void OnMenuGameMusic();
	afx_msg void OnInitMenu(CMenu* pMenu);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_BOXMANWND_H__7828B348_6D29_4C3B_977D_7285BA9FE7EC__INCLUDED_)

⌨️ 快捷键说明

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