trfAgentView.cpp
上传用户:maryhy001
上传日期:2007-05-02
资源大小:2317k
文件大小:2k
- // trfAgentView.cpp : implementation of the CTrfAgentView class
- //
- #include "stdafx.h"
- #include "trfAgent.h"
- #include "trfAgentDoc.h"
- #include "trfAgentView.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CTrfAgentView
- IMPLEMENT_DYNCREATE(CTrfAgentView, CView)
- BEGIN_MESSAGE_MAP(CTrfAgentView, CView)
- //{{AFX_MSG_MAP(CTrfAgentView)
- // NOTE - the ClassWizard will add and remove mapping macros here.
- // DO NOT EDIT what you see in these blocks of generated code!
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CTrfAgentView construction/destruction
- CTrfAgentView::CTrfAgentView()
- {
- // TODO: add construction code here
- }
- CTrfAgentView::~CTrfAgentView()
- {
- }
- BOOL CTrfAgentView::PreCreateWindow(CREATESTRUCT& cs)
- {
- // TODO: Modify the Window class or styles here by modifying
- // the CREATESTRUCT cs
- return CView::PreCreateWindow(cs);
- }
- /////////////////////////////////////////////////////////////////////////////
- // CTrfAgentView drawing
- void CTrfAgentView::OnDraw(CDC* pDC)
- {
- CTrfAgentDoc* pDoc = GetDocument();
- ASSERT_VALID(pDoc);
- // TODO: add draw code for native data here
- }
- /////////////////////////////////////////////////////////////////////////////
- // CTrfAgentView diagnostics
- #ifdef _DEBUG
- void CTrfAgentView::AssertValid() const
- {
- CView::AssertValid();
- }
- void CTrfAgentView::Dump(CDumpContext& dc) const
- {
- CView::Dump(dc);
- }
- CTrfAgentDoc* CTrfAgentView::GetDocument() // non-debug version is inline
- {
- ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CTrfAgentDoc)));
- return (CTrfAgentDoc*)m_pDocument;
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CTrfAgentView message handlers