📄 bookdialog1.h
字号:
#if !defined(AFX_BOOKDIALOG1_H__6E11743D_21FC_4747_A7C6_00D3A1D4473B__INCLUDED_)
#define AFX_BOOKDIALOG1_H__6E11743D_21FC_4747_A7C6_00D3A1D4473B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BookDialog1.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CBookDialog dialog
#include "BtnST.h"
#include "BookDatas.h"
class CBookDialog : public CDialog
{
// Construction
public:
void RefreshData();
CBookDialog(CWnd* pParent = NULL); // standard constructor
//特效按钮
CButtonST m_btnCreateMember;
CButtonST m_btnEmail;
CButtonST m_btnProperty;
CButtonST m_btnDelete;
CButtonST m_btnFind;
CButtonST m_btnBack;
CButtonST m_btnFont;
CButtonST m_btnNote;
BOOL InitODBCEnvironment(char *szPathName);
BOOL CloseODBCEnvironment(char *szPathName);
TCHAR m_szPathName[400];
CDatabase* m_pDB;
void OpenDatabase();
void CloseDatabase();
void OpenInitDatabase(CString szDatabase);
int openDatabase(CDatabase **ppDatabase, CString fileName,
BOOL bReportNoOpen /* = TRUE */);
void closeDatabase(CDatabase **ppDatabase);
CBookDatas *m_dataRecset;
// Dialog Data
//{{AFX_DATA(CBookDialog)
enum { IDD = IDD_DIALOG_BOOK };
// NOTE: the ClassWizard will add data members here
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:
DWORD m_dwUser;
// 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 void OnButtonNote();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BOOKDIALOG1_H__6E11743D_21FC_4747_A7C6_00D3A1D4473B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -