QuakeGod
2022-01-16 326d3e312c74726814c39c9d112faab03c4a167c
提交 | 用户 | age
4b03ae 1 
0ed438 2 // MTerm1Doc.h: CMTerm1Doc 类的接口
4b03ae 3 //
Q 4
5
6 #pragma once
7
8
0ed438 9 class CMTerm1Doc : public CDocument
4b03ae 10 {
Q 11 protected: // 仅从序列化创建
0ed438 12     CMTerm1Doc() noexcept;
Q 13     DECLARE_DYNCREATE(CMTerm1Doc)
4b03ae 14
Q 15 // 特性
16 public:
0ed438 17
4b03ae 18 // 操作
Q 19 public:
20
21 // 重写
22 public:
23     virtual BOOL OnNewDocument();
24     virtual void Serialize(CArchive& ar);
25 #ifdef SHARED_HANDLERS
26     virtual void InitializeSearchContent();
27     virtual void OnDrawThumbnail(CDC& dc, LPRECT lprcBounds);
28 #endif // SHARED_HANDLERS
29
30 // 实现
31 public:
0ed438 32     virtual ~CMTerm1Doc();
4b03ae 33 #ifdef _DEBUG
Q 34     virtual void AssertValid() const;
35     virtual void Dump(CDumpContext& dc) const;
36 #endif
37
38 protected:
39
40 // 生成的消息映射函数
41 protected:
42     DECLARE_MESSAGE_MAP()
43
44 #ifdef SHARED_HANDLERS
45     // 用于为搜索处理程序设置搜索内容的 Helper 函数
46     void SetSearchContent(const CString& value);
47 #endif // SHARED_HANDLERS
48 };