-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSudokuDlg.h
72 lines (56 loc) · 1.6 KB
/
SudokuDlg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// SudokuDlg.h : header file
//
/***********************************************************************************
* Created by Drakon
* 2007
***********************************************************************************/
#pragma once
#include "afxwin.h"
// CSudokuDlg dialog
class CSudokuDlg : public CDialog
{
// Construction
public:
CSudokuDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
enum { IDD = IDD_SUDOKU_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Implementation
protected:
HICON m_hIcon;
void CSudokuDlg::OnBnClickedStartButton();
void CSudokuDlg::OnBnClickedClearButton();
BYTE* m_SudokuData[9];
BYTE* m_LastSudokuData[9];
CPoint m_ActiveField;
// Generated message map functions
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg void OnLButtonDown(UINT, CPoint);
afx_msg HCURSOR OnQueryDragIcon();
int SudokuSolveRecursive(BYTE ** pData);
int m_RecursDeep;
DWORD m_RecurseDeepStat[1024];
BOOL PreTranslateMessage(MSG* pMsg);
DECLARE_MESSAGE_MAP()
public:
CStatic m_View;
public:
afx_msg void OnStnClickedSudokuView();
int NUM_OF_SOL;
CListBox m_out;
afx_msg void OnBnClickedButton1();
afx_msg void OnEnChangeEdit1();
CString m_num_of_sol;
afx_msg void OnBnClickedCheck1();
BOOL m_flag;
int m_quantity;
afx_msg void OnCbnSelchangeCombo1();
int m_watch_number;
int m_number;
afx_msg void OnBnClickedCheck2();
afx_msg void OnBnClickedButton2();
};