数字识别dlg.h

来自「数字识别」· C头文件 代码 · 共 76 行

H
76
字号
// 数字识别Dlg.h : header file
//

#if !defined(AFX_DLG_H__3116DA90_FF79_4AB2_8B5B_EB12D14E6144__INCLUDED_)
#define AFX_DLG_H__3116DA90_FF79_4AB2_8B5B_EB12D14E6144__INCLUDED_

#include"Data.h"
#include"Recognition.h"

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

/////////////////////////////////////////////////////////////////////////////
// CMyDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CMyDlg)
	enum { IDD = IDD_MY_DIALOG };
	int		m_res;
	BOOL	m_0;
	BOOL	m_1;
	BOOL	m_2;
	BOOL	m_3;
	BOOL	m_4;
	BOOL	m_5;
	BOOL	m_6;
	BOOL	m_7;
	BOOL	m_8;
	BOOL	m_9;
	//}}AFX_DATA

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

// Implementation
protected:
	CRecognition rec;
	HICON m_hIcon;

	BOOL init; // 是否初始化
	CData data; // 保存已有的数据
	BOOL lbd; // 鼠标左键是否按下
	int * show;
	// Generated message map functions
	//{{AFX_MSG(CMyDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnButtonClear();
	afx_msg void OnButtonShow();
	afx_msg void OnButtonSave();
	afx_msg void OnButtonStudy();
	afx_msg void OnButtonAdd();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DLG_H__3116DA90_FF79_4AB2_8B5B_EB12D14E6144__INCLUDED_)

⌨️ 快捷键说明

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