📄 askdlg.h
字号:
// AskDlg.h : header file
//
#if !defined(AFX_ASKDLG_H__D71224AC_FF1B_4DE4_87CD_6E4564006826__INCLUDED_)
#define AFX_ASKDLG_H__D71224AC_FF1B_4DE4_87CD_6E4564006826__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Label.h"
#include <afxdb.h>
/////////////////////////////////////////////////////////////////////////////
// CAskDlg dialog
class CAskDlg : public CDialog
{
// Construction
public:
CAskDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CAskDlg)
enum { IDD = IDD_ASK_DIALOG };
CRichEditCtrl m_REditCtrlCY;
CListCtrl m_listCtrlSpell;
CListCtrl m_listCtrlCY;
CEdit m_editWORD;
CLabel m_staCtlWORD;
CString m_strWORD;
BOOL m_bShowAllCY;
CString m_strPY;
CString m_strWB;
CString m_strSpell;
CString m_strREditCY;
CString m_strSpellNum;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAskDlg)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void SetCYListColor();
bool m_bAddDataFlag;
void ShowCopyRight();
void FindWBPY(CString strWord);
void AddDataToSpellListCtrl(CString strSpell);
void InsertTextToCYEdit(CString str,int iFlag = 0);
void AddDataToCYEdit(CString strCY);
void AddDataToCYListCtrl(CString strWord,BOOL bShowAllCY = false);
CDatabase m_Database;
CRecordset m_Recordset;
CString m_strSQL;
CHARFORMAT m_cf;
int m_iSelCy;
CString m_strSelSpell;
bool m_bClickSpellListCtrl;
CString m_strQuerySpell;
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CAskDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnOK();
afx_msg void OnSetfocusEditWord();
afx_msg void OnChangeEditWord();
afx_msg void OnBTNSelFont();
afx_msg void OnCHKShowAllCY();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnItemchangedListCy(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnChangeEditSpell();
afx_msg void OnItemchangedListSpell(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnBTNCopyCYList();
afx_msg void OnBTNCopyR();
afx_msg void OnSetfocusEditSpell();
afx_msg void OnSetfocusListSpell(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnSetfocusListCy(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ASKDLG_H__D71224AC_FF1B_4DE4_87CD_6E4564006826__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -