12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
-
- // CTSManagerView.h: CCTSManagerView 类的接口
- //
- #pragma once
- class CCTSManagerView : public CView
- {
- protected: // 仅从序列化创建
- CCTSManagerView() noexcept;
- DECLARE_DYNCREATE(CCTSManagerView)
- // 特性
- public:
- CCTSManagerDoc* GetDocument() const;
- // 操作
- public:
- // 重写
- public:
- virtual void OnDraw(CDC* pDC); // 重写以绘制该视图
- 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);
- // 实现
- public:
- virtual ~CCTSManagerView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // 生成的消息映射函数
- protected:
- afx_msg void OnFilePrintPreview();
- afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
- afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // CTSManagerView.cpp 中的调试版本
- inline CCTSManagerDoc* CCTSManagerView::GetDocument() const
- { return reinterpret_cast<CCTSManagerDoc*>(m_pDocument); }
- #endif
|