myeditor.h

来自「故障诊断工作涉及的领域相当广泛」· C头文件 代码 · 共 65 行

H
65
字号
#if !defined(AFX_MYEDITOR_H__9D6C9EC0_D82A_4827_95A8_6D851F39F73E__INCLUDED_)
#define AFX_MYEDITOR_H__9D6C9EC0_D82A_4827_95A8_6D851F39F73E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// myeditor.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// myeditor view
#include "richtestDoc.h"
class myeditor1 : public CRichEditView
{CBrush m_brush;
BOOL dirty;
protected:
	myeditor();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(myeditor);

// Attributes
public:

// Operations
public:
	BOOL isdirty();
	CRichtestDoc* GetDocument();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(myeditor)
	public:
	virtual void OnInitialUpdate();
	virtual void OnPrepareDC(CDC* pDC, CPrintInfo* pInfo = NULL);
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~myeditor();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	//{{AFX_MSG(myeditor)
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnPaint();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MYEDITOR_H__9D6C9EC0_D82A_4827_95A8_6D851F39F73E__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?