📄 dbtestdlg.h
字号:
// DBTestDlg.h : header file
//
#if !defined(AFX_DBTESTDLG_H__69E096AE_8B8D_4CF5_89FC_63C46F15A627__INCLUDED_)
#define AFX_DBTESTDLG_H__69E096AE_8B8D_4CF5_89FC_63C46F15A627__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CDBTestDlg dialog
class CDBTestDlg : public CDialog
{
// Construction
public:
CString VariantToCString(VARIANT var);
_ConnectionPtr m_pConnection; //创建一个指向Connection对象的指针
CDBTestDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDBTestDlg)
enum { IDD = IDD_DBTEST_DIALOG };
CString m_result;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDBTestDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
_CommandPtr m_pSQL; //定义一个命令查询组件
_RecordsetPtr m_pRecordset; //定义结果集指针
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CDBTestDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnOK();
afx_msg void OnClose();
afx_msg void OnMdy();
afx_msg void OnExit();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DBTESTDLG_H__69E096AE_8B8D_4CF5_89FC_63C46F15A627__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -