⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dbtooldlg.h

📁 很好的程序,希望能给你们带来方便.大家一起来维护这个网站,使其发展的更旺
💻 H
字号:
// DBToolDlg.h : header file
//
//{{AFX_INCLUDES()
#include "msflexgrid.h"
//}}AFX_INCLUDES

#if !defined(AFX_DBTOOLDLG_H__71D977F4_05BF_4E3B_9840_7FECCDA9DF2C__INCLUDED_)
#define AFX_DBTOOLDLG_H__71D977F4_05BF_4E3B_9840_7FECCDA9DF2C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "DBToolSQL.h"
#include "ResizableDialog.h"
/////////////////////////////////////////////////////////////////////////////
// CDBToolDlg dialog

class CDBToolDlg : public CResizableDialog
{
// Construction
public:
	void BoxDone();
	void SetUidPwd(CString Uid,CString Pwd);
	_ConnectionPtr* GetConnection();
	CDBToolDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CDBToolDlg)
	enum { IDD = IDD_DBTOOL_DIALOG };
	CTreeCtrl	m_treDb;
	CMSFlexGrid	m_grdDb;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDBToolDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CDBToolDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnClickTreeDb(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnSelchangedTreeDb(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnClose();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnMenuOdbc();
	afx_msg void OnMenuExit();
	afx_msg void OnMenuAbout();
	afx_msg void OnMenuRefreshall();
	afx_msg void OnMenuSql();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	DBToolSQL* m_pSQL;
	CString m_strDsn;
	CString m_strTable;
	CString m_strUid;
	CString m_strPwd;
	_ConnectionPtr* cn;
	_RecordsetPtr* rs;
	BOOL GetDsn();
	CImageList m_imgLst;
	CToolBar m_wndToolBar;
	CStatusBar m_wndStatusBar;
};

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

#endif // !defined(AFX_DBTOOLDLG_H__71D977F4_05BF_4E3B_9840_7FECCDA9DF2C__INCLUDED_)

⌨️ 快捷键说明

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