www.pudn.com > TongXuLv_Manage.rar > addr_bookDlg.h


// addr_bookDlg.h : header file 
// 
 
#if !defined(AFX_ADDR_BOOKDLG_H__3248E3B7_0AD3_443F_BE81_8EB7381C065C__INCLUDED_) 
#define AFX_ADDR_BOOKDLG_H__3248E3B7_0AD3_443F_BE81_8EB7381C065C__INCLUDED_ 
 
#include "MyAddrBook.h"	// Added by ClassView 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
///////////////////////////////////////////////////////////////////////////// 
// CAddr_bookDlg dialog 
#include "MyAddrBook.h" 
class CAddr_bookDlg : public CDialog 
{ 
// Construction 
public: 
	CImageList m_imagelist; 
	void ShowData(); 
	MyAddrBook m_addrbook; 
	CAddr_bookDlg(CWnd* pParent = NULL);	// standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CAddr_bookDlg) 
	enum { IDD = IDD_ADDR_BOOK_DIALOG }; 
	CListCtrl	m_list; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CAddr_bookDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CAddr_bookDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	virtual void OnOK(); 
	virtual void OnCancel(); 
	afx_msg void OnButtonClose(); 
	afx_msg void OnButtonOpen(); 
	afx_msg void OnButtonSave(); 
	afx_msg void OnButtonSaveAs(); 
	afx_msg void OnButtonAdd(); 
	afx_msg void OnButtonModify(); 
	afx_msg void OnButtonDelete(); 
	afx_msg void OnButtonSort(); 
	afx_msg void OnButtonSearch(); 
	afx_msg void OnClickListMain(NMHDR* pNMHDR, LRESULT* pResult); 
	afx_msg void OnButtonCloseDB(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_ADDR_BOOKDLG_H__3248E3B7_0AD3_443F_BE81_8EB7381C065C__INCLUDED_)