ezwpview.h
来自「讲mfc的书」· C头文件 代码 · 共 66 行
H
66 行
// ezwpView.h : interface of the CEzwpView class
//
/////////////////////////////////////////////////////////////////////////////
class CEzwpCntrItem;
class CEzwpView : public CRichEditView
{
protected: // create from serialization only
CEzwpView();
DECLARE_DYNCREATE(CEzwpView)
// Attributes
public:
CEzwpDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEzwpView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CEzwpView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CEzwpView)
afx_msg void OnCancelEditSrvr();
afx_msg void OnCharacterBold();
afx_msg void OnUpdateCharacterBold(CCmdUI* pCmdUI);
afx_msg void OnParagraphCenter();
afx_msg void OnUpdateParagraphCenter(CCmdUI* pCmdUI);
afx_msg void OnCharacterItalic();
afx_msg void OnUpdateCharacterItalic(CCmdUI* pCmdUI);
afx_msg void OnParagraphLeft();
afx_msg void OnUpdateParagraphLeft(CCmdUI* pCmdUI);
afx_msg void OnParagraphRight();
afx_msg void OnUpdateParagraphRight(CCmdUI* pCmdUI);
afx_msg void OnCharacterFont();
afx_msg void OnStatistics();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in ezwpView.cpp
inline CEzwpDoc* CEzwpView::GetDocument()
{ return (CEzwpDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?