-
Notifications
You must be signed in to change notification settings - Fork 0
/
HM_MachineDoc.h
49 lines (38 loc) · 1.78 KB
/
HM_MachineDoc.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
// HM_MachineDoc.h : CHM_MachineDoc 類別的介面
//
#pragma once
class CHM_MachineDoc : public CDocument
{
protected: // 僅從序列化建立
CHM_MachineDoc();
DECLARE_DYNCREATE(CHM_MachineDoc)
// 屬性
public:
CObArray m_WorkArray, m_StandArray, m_OtherArray;
// 作業
public:
virtual void DeleteContents();
// 覆寫
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
#ifdef SHARED_HANDLERS
virtual void InitializeSearchContent();
virtual void OnDrawThumbnail(CDC& dc, LPRECT lprcBounds);
#endif // SHARED_HANDLERS
// 程式碼實作
public:
virtual ~CHM_MachineDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// 產生的訊息對應函式
protected:
DECLARE_MESSAGE_MAP()
#ifdef SHARED_HANDLERS
// 為搜尋處理常式設定搜尋內容的 Helper 函式
void SetSearchContent(const CString& value);
#endif // SHARED_HANDLERS
};