📄 vc04view.h
字号:
// vc04View.h : interface of the CVc04View class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_VC04VIEW_H__80C4E7ED_F753_11D2_A010_0060085A8930__INCLUDED_)
#define AFX_VC04VIEW_H__80C4E7ED_F753_11D2_A010_0060085A8930__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CVc04View : public CEditView
{
protected: // create from serialization only
CVc04View();
DECLARE_DYNCREATE(CVc04View)
private:
int my_font; //存放字体代码
CFont* my_pfont; //存放字体指针
// Attributes
public:
CVc04Doc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CVc04View)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
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);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CVc04View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CVc04View)
afx_msg void OnMenuitem32771();
afx_msg void OnUpdateMenuitem32771(CCmdUI* pCmdUI);
afx_msg void OnMenuitem32772();
afx_msg void OnUpdateMenuitem32772(CCmdUI* pCmdUI);
afx_msg void OnMenuitem32773();
afx_msg void OnUpdateMenuitem32773(CCmdUI* pCmdUI);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg BOOL OnSize(UINT nID); //字号统一入口函数原型说明
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in vc04View.cpp
inline CVc04Doc* CVc04View::GetDocument()
{ return (CVc04Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_VC04VIEW_H__80C4E7ED_F753_11D2_A010_0060085A8930__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -