-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHTMLEditView.h
54 lines (42 loc) · 1.03 KB
/
HTMLEditView.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
53
// HTMLEditView.h : interface of the CHTMLEditView class
//
#pragma once
class CHTMLEditView : public CHtmlEditView
{
protected: // create from serialization only
CHTMLEditView();
DECLARE_DYNCREATE(CHTMLEditView)
// Attributes
public:
CHTMLEditDoc* GetDocument() const;
// Operations
public:
// Overrides
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
// Implementation
public:
virtual ~CHTMLEditView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
BOOL m_bDesignMode;
// Generated message map functions
protected:
DECLARE_DHTMLEDITING_CMDMAP(CHTMLEditView)
DECLARE_MESSAGE_MAP()
public:
void OnToggleBrowse(void);
void OnInitialUpdate(void);
void OnModeEdit(void);
void OnUpdateModeEdit(CCmdUI *pCmdUI);
void OnModeView(void);
void OnUpdateModeView(CCmdUI *pCmdUI);
};
#ifndef _DEBUG // debug version in HTMLEditView.cpp
inline CHTMLEditDoc* CHTMLEditView::GetDocument() const
{ return reinterpret_cast<CHTMLEditDoc*>(m_pDocument); }
#endif