setting.h

来自「使用贪心技术」· C头文件 代码 · 共 61 行

H
61
字号
#if !defined(AFX_SETTING_H__5B41796E_3235_4A81_AC04_9B2249350B0B__INCLUDED_)
#define AFX_SETTING_H__5B41796E_3235_4A81_AC04_9B2249350B0B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Setting.h : header file
//
#include "CostomizedTypes.h"

/////////////////////////////////////////////////////////////////////////////
// CSetting dialog

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

// Dialog Data
	//{{AFX_DATA(CSetting)
	enum { IDD = IDD_DLG_SETTING };
	CComboBox	m_ctlStrategy;
	CEdit	m_ctrlFaceValue;
	CListCtrl	m_ctrCoins;
	CListBox	m_boxCoins;
	int		m_Money;
	int		m_nAvailableNum;
	int		m_nFaceValue;
	int		m_nStrategy;
	//}}AFX_DATA

	int m_nCoinsTypes;
	CPtrArray m_ptrCoins;
	int* m_pMoney;
	Strategy* m_pStrategy;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSetting)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSetting)
	virtual BOOL OnInitDialog();
	afx_msg void OnBtnOk();
	afx_msg void OnClose();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
};

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

#endif // !defined(AFX_SETTING_H__5B41796E_3235_4A81_AC04_9B2249350B0B__INCLUDED_)

⌨️ 快捷键说明

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