demo2dlg.h
来自「一个不错的数据源连接程序」· C头文件 代码 · 共 67 行
H
67 行
// demo2Dlg.h : header file
//
#if !defined(AFX_DEMO2DLG_H__1E6F6465_B7D0_443A_8959_D905AA65CB1A__INCLUDED_)
#define AFX_DEMO2DLG_H__1E6F6465_B7D0_443A_8959_D905AA65CB1A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CDemo2Dlg dialog
#include "gridctrl.h"
#include "OdbcDBGridFILE.h"
class CDemo2Dlg : public CDialog
{
// Construction
public:
CDemo2Dlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDemo2Dlg)
enum { IDD = IDD_DEMO2_DIALOG };
CString m_strPass;
CString m_strSource;
CString m_strSql;
CString m_strUser;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDemo2Dlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
//}}AFX_VIRTUAL
// Implementation
public:
void Release();
void SetGridItem(GV_DISPINFO *pDispInfo);
CGridCtrl m_Grid;
COdbcDBGridFILE *m_pMapFile;
CImageList m_ImageList;
CDatabase m_db;
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CDemo2Dlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnClose();
afx_msg void OnBtnquery();
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_DEMO2DLG_H__1E6F6465_B7D0_443A_8959_D905AA65CB1A__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?