PhoneBookdlg.h
上传用户:hahaxixi
上传日期:2022-04-15
资源大小:1939k
文件大小:2k
源码类别:

手机短信编程

开发平台:

Visual C++

  1. #if !defined(AFX_PHONEBOOKDLG_H__48C2F233_3A68_4203_8D77_A43EC4BE09B7__INCLUDED_)
  2. #define AFX_PHONEBOOKDLG_H__48C2F233_3A68_4203_8D77_A43EC4BE09B7__INCLUDED_
  3. #include "PhoneEdit.h"
  4. #include "BmpButton.h"
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. // PhoneBookdlg.h : header file
  9. //
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CPhoneBookdlg dialog
  12. class CPhoneBookdlg : public CDialog
  13. {
  14. // Construction
  15. public:
  16. void AddToGrid();
  17. virtual void OnOK();
  18. CPhoneBookdlg(CWnd* pParent = NULL);   // standard constructor
  19. int m_ID;
  20. // Dialog Data
  21. //{{AFX_DATA(CPhoneBookdlg)
  22. enum { IDD = IDD_PHONEBOOK_DIALOG };
  23. CBmpButton m_ButMod;
  24. CBmpButton m_ButDel;
  25. CBmpButton m_ButAdd;
  26. CPhoneEdit m_Phone;
  27. CEdit m_Name;
  28. CListCtrl m_Grid;
  29. CComboBox m_Dep;
  30. CComboBox m_Duty;
  31. CComboBox m_Sex;
  32. //}}AFX_DATA
  33. // Overrides
  34. // ClassWizard generated virtual function overrides
  35. //{{AFX_VIRTUAL(CPhoneBookdlg)
  36. protected:
  37. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  38. //}}AFX_VIRTUAL
  39. // Implementation
  40. protected:
  41. // Generated message map functions
  42. //{{AFX_MSG(CPhoneBookdlg)
  43. virtual BOOL OnInitDialog();
  44. afx_msg void OnButadd();
  45. afx_msg void OnButmod();
  46. afx_msg void OnButdel();
  47. afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
  48. //}}AFX_MSG
  49. DECLARE_MESSAGE_MAP()
  50. };
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_PHONEBOOKDLG_H__48C2F233_3A68_4203_8D77_A43EC4BE09B7__INCLUDED_)