querydlg.h

来自「VC做的矢量画图程序!」· C头文件 代码 · 共 68 行

H
68
字号
#if !defined(AFX_QUERYDLG_H__37662820_67D0_49C5_9F14_556EB669F269__INCLUDED_)
#define AFX_QUERYDLG_H__37662820_67D0_49C5_9F14_556EB669F269__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// QueryDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CQueryDlg dialog

class CQueryDlg : public CDialog
{
// Construction
public:
	bool QueryValid();
	CQueryDlg(CWnd* pParent = NULL);   // standard constructor
    CString strOperator[6];
	CString strField[20];
	CString strField1[20];
	CString m_sqlStr;
	int m_type;
// Dialog Data
	//{{AFX_DATA(CQueryDlg)
	enum { IDD = IDD_QUERYDLG };
	CButton	m_radio_andor;
	CComboBox	m_com_ope2;
	CComboBox	m_com_value2;
	CComboBox	m_com_value1;
	CComboBox	m_com_field2;
	CComboBox	m_com_ope1;
	CComboBox	m_com_field1;
	CTime	m_datetime1;
	CTime	m_datetime2;
	CString	m_value1;
	CString	m_value2;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CQueryDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeComField1();
	afx_msg void OnSelchangeComField2();
	virtual void OnOK();
	afx_msg void OnRadio1();
	afx_msg void OnRadio2();
	afx_msg void OnRadio3();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_QUERYDLG_H__37662820_67D0_49C5_9F14_556EB669F269__INCLUDED_)

⌨️ 快捷键说明

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