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