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

📄 engrecitedlg.h

📁 背单词程序
💻 H
字号:
// EngReciteDlg.h : header file
//

#if !defined(AFX_ENGRECITEDLG_H__76D9BC7B_5F49_4F6B_965B_71204139916C__INCLUDED_)
#define AFX_ENGRECITEDLG_H__76D9BC7B_5F49_4F6B_965B_71204139916C__INCLUDED_

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

#include "BtnST.h"
#include "MyComboBox.h"
#include "MyEdit.h"
#include "MyRichEditCtrl.h"

/////////////////////////////////////////////////////////////////////////////
// CEngReciteDlg dialog

class CEngReciteDlg : public CDialog
{
// Construction
public:
	int MyFindString_ListBox(CListBox* lpLst, const CString& szText);
	void DecorateAllStatement();
	BOOL RefreshHisInfo();
	BOOL RefreshRecInfo();
	CEngReciteDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CEngReciteDlg)
	enum { IDD = IDD_ENGRECITE_DIALOG };
	CButton	m_btnRecite;
	CMyRichEditCtrl	m_txtAllStatement;
	CButtonST	m_btnDelRec;
	CButtonST	m_btnDelHis;
	CButtonST	m_btnLoad;
	CButtonST	m_btnSave;
	CEdit		m_txtRemark;
	CEdit		m_txtOwnStatement;
	CComboBox	m_selHistory;
	CMyEdit		m_txtChinese;
	CMyComboBox	m_selWord;
	CString		m_szWord;
	CString		m_szChinese;
	CString		m_szOwnStatement;
	CString		m_szRemark;
	CString		m_szAllStatement;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON			m_hIcon;
	
	ATOM			m_HotKeyId1;
	ATOM			m_HotKeyId2;

	BOOL			m_bRegHotKey;
	NOTIFYICONDATA	m_notifyIconData;

	// Generated message map functions
	//{{AFX_MSG(CEngReciteDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnClose();
	afx_msg void OnExit();
	afx_msg void OnDestroy();
	afx_msg void OnEditchangeWordList();
	afx_msg void OnKillfocusWordList();
	afx_msg void OnSelendcancelWordList();
	afx_msg void OnSetfocusWordList();
	afx_msg void OnKillfocusAllStatement();
	afx_msg void OnKillfocusChinese();
	afx_msg void OnKillfocusOwnStatemnet();
	afx_msg void OnKillfocusRemark();
	afx_msg void OnSelchangeHistoryList();
	afx_msg void OnSelendokWordList();
	afx_msg void OnSave();
	virtual void OnCancel();
	virtual void OnOK();
	afx_msg void OnDeleteRec();
	afx_msg void OnDeleteHis();
	afx_msg void OnHelpAbout();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnRButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnRecite();
	//}}AFX_MSG
	afx_msg LRESULT OnHotKey(WPARAM wParam, LPARAM lParam);
	afx_msg LRESULT OnTrayIconNotify(WPARAM wParam, LPARAM lParam);
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_ENGRECITEDLG_H__76D9BC7B_5F49_4F6B_965B_71204139916C__INCLUDED_)

⌨️ 快捷键说明

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