PageMailPop3.h
上传用户:geanq888
上传日期:2007-01-03
资源大小:316k
文件大小:2k
源码类别:

Ftp客户端

开发平台:

Visual C++

  1. #if !defined(AFX_PAGEMAILPOP3_H__792E75A5_5468_11D2_8102_9EC3A8472A4A__INCLUDED_)
  2. #define AFX_PAGEMAILPOP3_H__792E75A5_5468_11D2_8102_9EC3A8472A4A__INCLUDED_
  3. #if _MSC_VER >= 1000
  4. #pragma once
  5. #endif // _MSC_VER >= 1000
  6. // PageMailPop3.h : header file
  7. //
  8. #include "PopGet.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CPageMailPop3 dialog
  11. class CPageMailPop3 : public CPropertyPage
  12. {
  13. DECLARE_DYNCREATE(CPageMailPop3)
  14. // Construction
  15. public:
  16. CPageMailPop3();
  17. ~CPageMailPop3();
  18. // Dialog Data
  19. //{{AFX_DATA(CPageMailPop3)
  20. enum { IDD = IDD_PAGE_MAIL_POP3 };
  21. CListCtrl m_Servers;
  22. CListCtrl m_Mails;
  23. //}}AFX_DATA
  24.   CToolTipCtrl m_ToolTip;
  25.   CPop m_Pop;
  26. struct ACCOUNT
  27. {
  28.   CString sServer;
  29.   int nPort;
  30.   CString sUsername;
  31.   CString sPassword;
  32. };
  33.   CArray<ACCOUNT, ACCOUNT&> m_aAccounts;
  34. // Overrides
  35. // ClassWizard generate virtual function overrides
  36. //{{AFX_VIRTUAL(CPageMailPop3)
  37. public:
  38. virtual void Serialize(CArchive& ar);
  39. virtual BOOL PreTranslateMessage(MSG* pMsg);
  40. protected:
  41. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  42. //}}AFX_VIRTUAL
  43. // Implementation
  44. protected:
  45. // Generated message map functions
  46. //{{AFX_MSG(CPageMailPop3)
  47. afx_msg void OnAdd();
  48. afx_msg void OnEdit();
  49. virtual BOOL OnInitDialog();
  50. afx_msg void OnRemove();
  51. afx_msg void OnGetmail();
  52. afx_msg void OnDelete();
  53. afx_msg void OnView();
  54. afx_msg void OnDblclkServers(NMHDR* pNMHDR, LRESULT* pResult);
  55. afx_msg void OnPop3Save();
  56. //}}AFX_MSG
  57. DECLARE_MESSAGE_MAP()
  58. };
  59. //{{AFX_INSERT_LOCATION}}
  60. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  61. #endif // !defined(AFX_PAGEMAILPOP3_H__792E75A5_5468_11D2_8102_9EC3A8472A4A__INCLUDED_)