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

📄 queendlg.h

📁 八皇后演示程序,VC6.0开发环境 初学c++ 望指正
💻 H
字号:
// QueenDlg.h : header file
//

#if !defined(AFX_QUEENDLG_H__6C334349_9697_4875_9E0D_63E4A671F2F9__INCLUDED_)
#define AFX_QUEENDLG_H__6C334349_9697_4875_9E0D_63E4A671F2F9__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CQueenDlg dialog

class CQueenDlg : public CDialog
{
// Construction
public:
	void solve(int i);
	CTime m_tEnd;
	CTime m_tStart;
	CTime m_pauseBegin;
	CTime m_pauseEnd;
	CTimeSpan m_pauseTime;
	CTimeSpan m_pauseTime1;
	int A[7];
	int rightUp[15];
	int leftUp[15];
	int row[8];
	int LineNum[8];
	int m_recoder,m_recoder1;
	int total;
	int flag;
	int one,two,three,four,five,six,seven;
	int m_timer;
	int m_pause;
	BOOL m_Judge;
	BOOL m_Judge1;
	BOOL m_Judge2;
	int m_num;
	int m_num1;
	CStringArray m_LineNum,m_LineNum1;
	CQueenDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CQueenDlg)
	enum { IDD = IDD_QUEEN_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CQueenDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnStart();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnPause();
	afx_msg void OnEditchangeCombo2();
	afx_msg void OnSelchangeCombo2();
	afx_msg void OnBackdate();
	afx_msg void OnRansack();
	afx_msg void OnDirect();
	afx_msg void OnAuto();
	afx_msg void OnOnestep();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	int m_chose;
	HBRUSH m_brush;
};

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

#endif // !defined(AFX_QUEENDLG_H__6C334349_9697_4875_9E0D_63E4A671F2F9__INCLUDED_)

⌨️ 快捷键说明

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