-
Notifications
You must be signed in to change notification settings - Fork 0
/
TravelMode_ClassifierView.h
executable file
·52 lines (40 loc) · 1.25 KB
/
TravelMode_ClassifierView.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// TravelMode_ClassifierView.h : CTravelMode_ClassifierView 类的接口
//
#pragma once
class CTravelMode_ClassifierView : public CView
{
protected: // 仅从序列化创建
CTravelMode_ClassifierView();
DECLARE_DYNCREATE(CTravelMode_ClassifierView)
// 特性
public:
CTravelMode_ClassifierDoc* 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 ~CTravelMode_ClassifierView();
#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 // TravelMode_ClassifierView.cpp 中的调试版本
inline CTravelMode_ClassifierDoc* CTravelMode_ClassifierView::GetDocument() const
{ return reinterpret_cast<CTravelMode_ClassifierDoc*>(m_pDocument); }
#endif