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

📄 t9dlg.h

📁 主要实现T9输入法功能!自已开发,并修正6万多汉字及使用频率,单键切换输入法,输入类型分为:英文,数字,T9拼音,常用符号等!
💻 H
字号:
// T9Dlg.h : header file
//

#include<ctype.h>
#include "XPButton.h"
//#include "ColorButton.h"
//#include "ColorStatic.h"


#if !defined(AFX_T9DLG_H__04854399_5E0D_442A_A8D6_2FCB9CAD2B78__INCLUDED_)
#define AFX_T9DLG_H__04854399_5E0D_442A_A8D6_2FCB9CAD2B78__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CT9Dlg dialog

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

	CButton	m_btn1;
	CButton	m_btn2;
	CButton	m_btn3;
	CButton	m_btn4;
	CButton	m_btn5;
	CButton	m_btn6;
	CButton	m_btn7;
	CButton	m_btn8;
	CButton	m_btn9;
	CButton	m_btn10;
	CButton	m_btn11;
	CButton	m_btn12;
	CButton	m_btnDel;
	CButton m_btnExit;
	CButton m_btnClear;

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

	HANDLE m_hOneInstance;
	CString m_strShowWord;

	CEdit m_CEdit;
	CListBox m_CListBox;
	CStatic m_CStaticShow;

	CFont *pFont1,*pFont2;

	int m_iCursorStart,m_iCursorEnd;

	CRect pRt;

	bool m_bIsCreate;
	bool m_bIsShow;

	CWnd *pMain;

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

// Implementation
protected:
	HICON m_hIcon;

	void SetShow(void);
	void GetEditFocus(void);
	void SetEditFocus(void);
	void ExchangeRect(CWnd *pWnd);
	CRect ExchangeRect(CRect Rect);
	CRect ExchangeRect(CRect Rect,CRect OutRect);

	// Generated message map functions
	//{{AFX_MSG(CT9Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	afx_msg void OnButton5();
	afx_msg void OnButton6();
	afx_msg void OnButton7();
	afx_msg void OnButton8();
	afx_msg void OnButton9();
	afx_msg void OnButton10();
	afx_msg void OnButton11();
	afx_msg void OnButton12();
	afx_msg void OnSelchangeList1();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnButton13();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_T9DLG_H__04854399_5E0D_442A_A8D6_2FCB9CAD2B78__INCLUDED_)

⌨️ 快捷键说明

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