Test.cpp
上传用户:szcysw
上传日期:2013-03-11
资源大小:6752k
文件大小:1k
- // Test.cpp : implementation file
- //
- #include "stdafx.h"
- #include "ViewOutlookdemo.h"
- #include "Test.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CTest
- IMPLEMENT_DYNCREATE(CTest, CEditView)
- CTest::CTest()
- {
- }
- CTest::~CTest()
- {
- }
- BEGIN_MESSAGE_MAP(CTest, CEditView)
- //{{AFX_MSG_MAP(CTest)
- ON_WM_ERASEBKGND()
- ON_WM_CTLCOLOR_REFLECT()
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CTest drawing
- void CTest::OnDraw(CDC* pDC)
- {
- CDocument* pDoc = GetDocument();
- // TODO: add draw code here
- }
- /////////////////////////////////////////////////////////////////////////////
- // CTest diagnostics
- #ifdef _DEBUG
- void CTest::AssertValid() const
- {
- CEditView::AssertValid();
- }
- void CTest::Dump(CDumpContext& dc) const
- {
- CEditView::Dump(dc);
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CTest message handlers
- BOOL CTest::OnEraseBkgnd(CDC* pDC)
- {
- // TODO: Add your message handler code here and/or call default
-
- return CEditView::OnEraseBkgnd(pDC);
- }
- HBRUSH CTest::CtlColor(CDC* pDC, UINT nCtlColor)
- {
- // TODO: Change any attributes of the DC here
-
- // TODO: Return a non-NULL brush if the parent's handler should not be called
- return NULL;
- }