123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- #include "stdafx.h"
- #include "FieldTestTool.h"
- #include "FieldTestToolDoc.h"
- #include "FieldTestToolView.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #endif
- IMPLEMENT_DYNCREATE(CFieldTestToolView, CView)
- BEGIN_MESSAGE_MAP(CFieldTestToolView, CView)
-
- END_MESSAGE_MAP()
- CFieldTestToolView::CFieldTestToolView()
- {
-
- m_pCamera = NULL;
- }
- CFieldTestToolView::~CFieldTestToolView()
- {
- }
- BOOL CFieldTestToolView::PreCreateWindow(CREATESTRUCT& cs)
- {
-
- cs.style &= ~WS_CAPTION;
- return CView::PreCreateWindow(cs);
- }
- void CFieldTestToolView::OnDraw(CDC* )
- {
-
-
-
-
-
- if ( m_pCamera )
- m_pCamera->ResizeVideoWindow();
- }
- void CFieldTestToolView::OnFilePrintPreview()
- {
- AFXPrintPreview(this);
- }
- void CFieldTestToolView::OnRButtonUp(UINT nFlags, CPoint point)
- {
- ClientToScreen(&point);
- OnContextMenu(this, point);
- }
- void CFieldTestToolView::OnContextMenu(CWnd* pWnd, CPoint point)
- {
-
- }
- #ifdef _DEBUG
- void CFieldTestToolView::AssertValid() const
- {
- CView::AssertValid();
- }
- void CFieldTestToolView::Dump(CDumpContext& dc) const
- {
- CView::Dump(dc);
- }
- CFieldTestToolDoc* CFieldTestToolView::GetDocument() const
- {
-
-
- return NULL;
- }
- #endif
|