49 lines
2.1 KiB
C++
49 lines
2.1 KiB
C++
// EmblemTestView.h : interface of the CEmblemTestView class
|
||
//
|
||
|
||
|
||
#pragma once
|
||
|
||
|
||
class CEmblemTestView : public CView
|
||
{
|
||
protected: // create from serialization only
|
||
CEmblemTestView();
|
||
DECLARE_DYNCREATE(CEmblemTestView)
|
||
|
||
// Attributes
|
||
public:
|
||
CEmblemTestDoc* GetDocument() const;
|
||
|
||
// Operations
|
||
public:
|
||
|
||
// Overrides
|
||
public:
|
||
virtual void OnDraw(CDC* pDC); // overridden to draw this view
|
||
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
|
||
protected:
|
||
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
|
||
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
|
||
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
|
||
|
||
// Implementation
|
||
public:
|
||
virtual ~CEmblemTestView();
|
||
#ifdef _DEBUG
|
||
virtual void AssertValid() const;
|
||
virtual void Dump(CDumpContext& dc) const;
|
||
#endif
|
||
|
||
protected:
|
||
|
||
// Generated message map functions
|
||
protected:
|
||
DECLARE_MESSAGE_MAP()
|
||
};
|
||
|
||
#ifndef _DEBUG // debug version in EmblemTestView.cpp
|
||
inline CEmblemTestDoc* CEmblemTestView::GetDocument() const
|
||
{ return reinterpret_cast<CEmblemTestDoc*>(m_pDocument); }
|
||
#endif
|
||
|