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

📄 bookdialog.h

📁 一个操作系统源代码
💻 H
字号:
#if !defined(AFX_BOOKDIALOG_H__B0EEF557_A03B_4CD8_A90B_3CB20CAE18C1__INCLUDED_)
#define AFX_BOOKDIALOG_H__B0EEF557_A03B_4CD8_A90B_3CB20CAE18C1__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BookDialog.h : header file
//
#include "BtnST.h"
#include "BookDataSet.h"

/////////////////////////////////////////////////////////////////////////////
// CBookDialog dialog

class CBookDialog : public CDialog
{
// Construction
public:
	CBookDialog(CWnd* pParent = NULL);   // standard constructor

//	CButtonST m_btnCreateGroup;
	CButtonST m_btnCreateMember;
	CButtonST m_btnEmail;
	CButtonST m_btnProperty;
	CButtonST m_btnDelete;
	CButtonST m_btnFind;
	CButtonST m_btnBack;
	CButtonST m_btnFont;

	CBookDataSet *m_dataRecset;
	CDatabase* m_pDB;
//	CStringList m_szGroupName;
//	CImageList *m_pImageList;

	TCHAR m_szPathName[400];

	void OpenDatabase();
	void CloseDatabase();
	void OpenInitDatabase(CString szDatabase);
	int openDatabase(CDatabase **ppDatabase, CString fileName,
				  BOOL bReportNoOpen /* = TRUE */);
	void closeDatabase(CDatabase **ppDatabase);
//	void GetCurDir(TCHAR *szBuffer,TCHAR *szTempBuf);
	BOOL InitODBCEnvironment(char *szPathName);
	BOOL CloseODBCEnvironment(char *szPathName);
	void RefreshData();
// Dialog Data
	//{{AFX_DATA(CBookDialog)
	enum { IDD = IDD_DIALOG_BOOK };
//	CListCtrl	m_list_group;
//	CTreeCtrl	m_tree;
	CListCtrl	m_list;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CBookDialog)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg void OnDestroy();
	afx_msg void OnButtonMember();
	afx_msg void OnButtonDelete();
	afx_msg void OnButtonProperty();
	afx_msg void OnButtonFind();
	afx_msg void OnButtonEmail();
	afx_msg void OnButtonBack();
	afx_msg void OnButtonFont();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_BOOKDIALOG_H__B0EEF557_A03B_4CD8_A90B_3CB20CAE18C1__INCLUDED_)

⌨️ 快捷键说明

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