📄 ex5view.h
字号:
// Ex5View.h : interface of the CEx5View class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_EX5VIEW_H__1B14F9F8_72FD_43EA_9DC7_54D635762AAF__INCLUDED_)
#define AFX_EX5VIEW_H__1B14F9F8_72FD_43EA_9DC7_54D635762AAF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "commondlg.h"
class CEx5View : public CView
{
CFont* m_pCurFont;
int m_nColor;
protected: // create from serialization only
CEx5View();
DECLARE_DYNCREATE(CEx5View)
// Attributes
public:
CEx5Doc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEx5View)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CEx5View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CEx5View)
afx_msg void OnListBox();
afx_msg void OnOther();
afx_msg void OnTab();
afx_msg void OnFontDlg();
afx_msg void OnFileDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
LOGFONT m_lf;
CString m_strFontName;
int m_nFlag;
CCommonDlg * m_pDlg;
void reDraw(CDC *pDC);
};
#ifndef _DEBUG // debug version in Ex5View.cpp
inline CEx5Doc* CEx5View::GetDocument()
{ return (CEx5Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EX5VIEW_H__1B14F9F8_72FD_43EA_9DC7_54D635762AAF__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -