// LYFZIPManageView.cpp : implementation of the CLYFZIPManageView class // #include "stdafx.h" #include "LYFZIPManage.h" #include "LYFZIPManageDoc.h" #include "LYFZIPManageView.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CLYFZIPManageView IMPLEMENT_DYNCREATE(CLYFZIPManageView, CView) BEGIN_MESSAGE_MAP(CLYFZIPManageView, CView) //{{AFX_MSG_MAP(CLYFZIPManageView) ON_WM_TIMER() //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CLYFZIPManageView construction/destruction CLYFZIPManageView::CLYFZIPManageView() { // TODO: add construction code here } CLYFZIPManageView::~CLYFZIPManageView() { } BOOL CLYFZIPManageView::PreCreateWindow(CREATESTRUCT& cs) { // TODO: Modify the Window class or styles here by modifying // the CREATESTRUCT cs return CView::PreCreateWindow(cs); } ///////////////////////////////////////////////////////////////////////////// // CLYFZIPManageView drawing void CLYFZIPManageView::OnDraw(CDC* pDC) { CLYFZIPManageDoc* pDoc = GetDocument(); ASSERT_VALID(pDoc); // TODO: add draw code for native data here } ///////////////////////////////////////////////////////////////////////////// // CLYFZIPManageView diagnostics #ifdef _DEBUG void CLYFZIPManageView::AssertValid() const { CView::AssertValid(); } void CLYFZIPManageView::Dump(CDumpContext& dc) const { CView::Dump(dc); } CLYFZIPManageDoc* CLYFZIPManageView::GetDocument() // non-debug version is inline { ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CLYFZIPManageDoc))); return (CLYFZIPManageDoc*)m_pDocument; } #endif //_DEBUG ///////////////////////////////////////////////////////////////////////////// // CLYFZIPManageView message handlers void CLYFZIPManageView::OnInitialUpdate() { CView::OnInitialUpdate(); // TODO: Add your specialized code here and/or call the base class } void CLYFZIPManageView::OnTimer(UINT nIDEvent) { // TODO: Add your message handler code here and/or call default }