📄 searchdlg.h
字号:
#if !defined(AFX_SEARCHDLG_H__B3C0A2A6_0F53_40C2_86E3_357587DB9C15__INCLUDED_)
#define AFX_SEARCHDLG_H__B3C0A2A6_0F53_40C2_86E3_357587DB9C15__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SearchDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSearchDlg dialog
class CSearchDlg : public CDialog
{
// Construction
public:
void BlurSearch();//模糊查询
void ExactSearch();//精确查询
CSearchDlg(CWnd* pParent = NULL); // standard constructor
CDatabase m_database;
bool flag;//用于判断选择的是何种查询true为精确查询,false为模糊查询
// Dialog Data
//{{AFX_DATA(CSearchDlg)
enum { IDD = IDD_SEARCH_DIALOG };
CButton m_ctrlradio1;
CComboBox m_ctrlfield;
CString m_field;
CString m_input;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSearchDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSearchDlg)
virtual void OnOK();
virtual void OnCancel();
virtual BOOL OnInitDialog();
afx_msg void OnRadio1();
afx_msg void OnRadio2();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SEARCHDLG_H__B3C0A2A6_0F53_40C2_86E3_357587DB9C15__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -