LYFZIPManageView.cpp 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. // LYFZIPManageView.cpp : implementation of the CLYFZIPManageView class
  2. //
  3. #include "stdafx.h"
  4. #include "LYFZIPManage.h"
  5. #include "LYFZIPManageDoc.h"
  6. #include "LYFZIPManageView.h"
  7. #ifdef _DEBUG
  8. #define new DEBUG_NEW
  9. #undef THIS_FILE
  10. static char THIS_FILE[] = __FILE__;
  11. #endif
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CLYFZIPManageView
  14. IMPLEMENT_DYNCREATE(CLYFZIPManageView, CView)
  15. BEGIN_MESSAGE_MAP(CLYFZIPManageView, CView)
  16. //{{AFX_MSG_MAP(CLYFZIPManageView)
  17. ON_WM_TIMER()
  18. //}}AFX_MSG_MAP
  19. END_MESSAGE_MAP()
  20. /////////////////////////////////////////////////////////////////////////////
  21. // CLYFZIPManageView construction/destruction
  22. CLYFZIPManageView::CLYFZIPManageView()
  23. {
  24. // TODO: add construction code here
  25. }
  26. CLYFZIPManageView::~CLYFZIPManageView()
  27. {
  28. }
  29. BOOL CLYFZIPManageView::PreCreateWindow(CREATESTRUCT& cs)
  30. {
  31. // TODO: Modify the Window class or styles here by modifying
  32. // the CREATESTRUCT cs
  33. return CView::PreCreateWindow(cs);
  34. }
  35. /////////////////////////////////////////////////////////////////////////////
  36. // CLYFZIPManageView drawing
  37. void CLYFZIPManageView::OnDraw(CDC* pDC)
  38. {
  39. CLYFZIPManageDoc* pDoc = GetDocument();
  40. ASSERT_VALID(pDoc);
  41. // TODO: add draw code for native data here
  42. }
  43. /////////////////////////////////////////////////////////////////////////////
  44. // CLYFZIPManageView diagnostics
  45. #ifdef _DEBUG
  46. void CLYFZIPManageView::AssertValid() const
  47. {
  48. CView::AssertValid();
  49. }
  50. void CLYFZIPManageView::Dump(CDumpContext& dc) const
  51. {
  52. CView::Dump(dc);
  53. }
  54. CLYFZIPManageDoc* CLYFZIPManageView::GetDocument() // non-debug version is inline
  55. {
  56. ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CLYFZIPManageDoc)));
  57. return (CLYFZIPManageDoc*)m_pDocument;
  58. }
  59. #endif //_DEBUG
  60. /////////////////////////////////////////////////////////////////////////////
  61. // CLYFZIPManageView message handlers
  62. void CLYFZIPManageView::OnInitialUpdate()
  63. {
  64. CView::OnInitialUpdate();
  65. // TODO: Add your specialized code here and/or call the base class
  66. }
  67. void CLYFZIPManageView::OnTimer(UINT nIDEvent)
  68. {
  69. // TODO: Add your message handler code here and/or call default
  70. }