⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 liuyf24pointdlg.h

📁 用VC++篇的24点小游戏
💻 H
字号:
// Liuyf24POINTDlg.h : header file
//

#if !defined(AFX_LIUYF24POINTDLG_H__1A96C919_7D32_41BE_B111_5D84BD96E312__INCLUDED_)
#define AFX_LIUYF24POINTDLG_H__1A96C919_7D32_41BE_B111_5D84BD96E312__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CLiuyf24POINTDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CLiuyf24POINTDlg)
	enum { IDD = IDD_LIUYF24POINT_DIALOG };
	CProgressCtrl	M_PROGRESS;
	CString	M_PICTURE0;
	CString	M_PICTURE1;
	CString	M_PICTURE2;
	CString	M_PICTURE3;
	CString	M_EDIT;
	//}}AFX_DATA
    int m_number[4];//扑克牌的点数
    int m_pattern1,m_pattern2,m_pattern3,m_pattern4;//扑克牌的图案
    CBitmap Bitmap[13];
	int m_Hardlevel;//困难级别(ONTIMER())
	int SpendTime;
    int m_Score;
	//验算数据
	      char *stopstring;
	      int LastPos(CString Str);
	      int FirstPos(CString Str);
	      char FirstF(CString Str);
	      int SubCompute(CString Str);
	      int TotalCompute(CString Str);
	HACCEL   hAccel;
	
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLiuyf24POINTDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CLiuyf24POINTDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnChangeEdit1();
	afx_msg void OnCalc();
	afx_msg void OnEnd();
	afx_msg void OnRadio1();
	afx_msg void OnRadio2();
	afx_msg void OnRadio3();
	afx_msg void OnStart();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnStatic10();
	afx_msg void OnOutofmemoryProgress1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnStatic11();
	afx_msg void OnAboutbox();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnChangeEdit();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_LIUYF24POINTDLG_H__1A96C919_7D32_41BE_B111_5D84BD96E312__INCLUDED_)

⌨️ 快捷键说明

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