SendEmailView.h
上传用户:jpdph_love
上传日期:2013-04-11
资源大小:116k
文件大小:2k
源码类别:

Email服务器

开发平台:

Visual C++

  1. // SendEmailView.h : interface of the CSendEmailView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_SENDEMAILVIEW_H__ADAA328B_C7DC_11D1_B07C_0060083CFB2D__INCLUDED_)
  5. #define AFX_SENDEMAILVIEW_H__ADAA328B_C7DC_11D1_B07C_0060083CFB2D__INCLUDED_
  6. #include "Email.h"
  7. #if _MSC_VER >= 1000
  8. #pragma once
  9. #endif // _MSC_VER >= 1000
  10. class CSendEmailView : public CView
  11. {
  12. protected: // create from serialization only
  13. CSendEmailView();
  14. DECLARE_DYNCREATE(CSendEmailView)
  15. // Attributes
  16. public:
  17. CSendEmailDoc* GetDocument();
  18. CEmail *m_pEmail;
  19. // Operations
  20. public:
  21. // Overrides
  22. // ClassWizard generated virtual function overrides
  23. //{{AFX_VIRTUAL(CSendEmailView)
  24. public:
  25. virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  26. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  27. protected:
  28. //}}AFX_VIRTUAL
  29. // Implementation
  30. public:
  31. virtual ~CSendEmailView();
  32. #ifdef _DEBUG
  33. virtual void AssertValid() const;
  34. virtual void Dump(CDumpContext& dc) const;
  35. #endif
  36. protected:
  37. // Generated message map functions
  38. protected:
  39. //{{AFX_MSG(CSendEmailView)
  40. afx_msg void OnEmailSendemail();
  41. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  42. afx_msg void OnTimer(UINT nIDEvent);
  43. afx_msg void OnUpdateEmailSendemail(CCmdUI* pCmdUI);
  44. //}}AFX_MSG
  45. DECLARE_MESSAGE_MAP()
  46. };
  47. #ifndef _DEBUG  // debug version in SendEmailView.cpp
  48. inline CSendEmailDoc* CSendEmailView::GetDocument()
  49.    { return (CSendEmailDoc*)m_pDocument; }
  50. #endif
  51. /////////////////////////////////////////////////////////////////////////////
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  54. #endif // !defined(AFX_SENDEMAILVIEW_H__ADAA328B_C7DC_11D1_B07C_0060083CFB2D__INCLUDED_)