📄 dbasequery.h
字号:
#if !defined(AFX_DBASEQUERY_H__1E243119_E99C_432A_A159_CE47159FE2CA__INCLUDED_)
#define AFX_DBASEQUERY_H__1E243119_E99C_432A_A159_CE47159FE2CA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DBaseQuery.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDBaseQuery dialog
#include "RxGrid.h"
#include "BaseEdit.h"
#include "BaseComboBox.h"
#include "RxRecordset.h" // Added by ClassView
class CDBaseQuery : public CDialog
{
// Construction
public:
CDBaseQuery(CString sCaption,
CString sSQL,
CString sIdentify,
int nNumberStyle,
CWnd* pParent = NULL
); // standard constructor
// Dialog Data
//{{AFX_DATA(CDBaseQuery)
enum { IDD = IDD_BASEQUERY };
CStatic m_StaTit;
RxGrid m_Grid;
CBaseEdit m_EdtCondition;
CBaseComboBox m_ComField;
CBaseComboBox m_ComEmblem;
CButton m_ButQuery;
CButton m_ButPrint;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDBaseQuery)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDBaseQuery)
virtual void OnOK();
virtual void OnButquery();
afx_msg void OnButprint();
virtual BOOL OnInitDialog();
virtual void OnDblclkGrid(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnKillfocusComfield();
virtual void Init();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int m_NumberStyle;
CString m_Identify;
RxRecordset rst;
int m_CurrentRow;
CString m_Caption;
CString m_DateBaseName;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DBASEQUERY_H__1E243119_E99C_432A_A159_CE47159FE2CA__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -