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

📄 dnwdlg.h

📁 该软件的主要功能是用鼠标就能“写”出常用的汉字
💻 H
字号:
// DNWDlg.h : header file
//

#if !defined(AFX_DNWDLG_H__5714F112_816A_4877_AD3C_AF9F3AF666B3__INCLUDED_)
#define AFX_DNWDLG_H__5714F112_816A_4877_AD3C_AF9F3AF666B3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#import "f:\program files\common files\system\ado\msado15.dll" no_namespace rename ("EOF", "adoEOF") 

//using namespace ADOCG;
/////////////////////////////////////////////////////////////////////////////
// CDNWDlg dialog

class CDNWDlg : public CDialog
{
// Construction
public:


	CDNWDlg(CWnd* pParent = NULL);	// standard constructor

afx_msg LONG CDNWDlg::OnTrayNotification(WPARAM wparam, LPARAM lparam);

bool m_down;//笔头按下
int m_count;//笔划统计
int i,j,k;//常用循环变量
int qh,wh;
int rec1x,rec2x,rec3x,recy; //三个框
int sx,sy,ex,ey; //笔划起点和终点坐标定义
int wm[24][24];//用户字模
int zm[24][24];//汉字字模
int wmc,zmc;//用户字模点数和汉字字模点数统计
int wzmc,bwzmc;//字模重合及不重合部分统计
void getzm(int qh,int wh);
int offset,arch,arcs,arcp,arcl,arcz;
float minarc,maxarc;
int hzsfind;//找到的汉字个数
CString hzs[10000]; //找到的汉字排成数组
float xsl;//相似率排成数组
CBrush* pOldBrush; //笔刷对象
BYTE bytes[72];
// Dialog Data
	//{{AFX_DATA(CDNWDlg)
	enum { IDD = IDD_DNW_DIALOG };
	CEdit	m_zk;
	CComboBox	m_ftlist;
	CListCtrl	m_show;
	CEdit	m_hzcount;
	CEdit	m_hzs;
	CListCtrl	m_list;
	CSpinButtonCtrl	m_counting;
	CEdit	m_cot;
	CStatic	m_font;
	CStatic	m_buff;
	CStatic	m_user;
	CString	m_hzfind;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDNWDlg)
	protected:

	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CDNWDlg)
	virtual BOOL OnInitDialog();
afx_msg void OnTimer(UINT nIDEvent); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnAboutbox();
	afx_msg void OnShow();
	afx_msg void OnMenuitem32771();
	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 OnClose();
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnRButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	afx_msg void OnButton1();
	afx_msg void OnButton4();
	afx_msg void OnSelchangeList4();
	afx_msg void OnDblclkList4();
	afx_msg void OnButton5();
	afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnSelchangeCombo1();
	afx_msg void OnButton6();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DNWDLG_H__5714F112_816A_4877_AD3C_AF9F3AF666B3__INCLUDED_)

⌨️ 快捷键说明

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