⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lz_textview.h

📁 Office XP界面的记事本,完全可以取代windows中的记事本
💻 H
字号:
/*-----------------------------------------------
* Copyright (c) 2003, Extreme Programming Team
* All rights reserved.
* 
* 文件名称:Lz_TextView.h
* 摘    要:Windows 程序开发BCG界面简单C++实现案例
* 
* 当前版本:1.0
* 作    者:L.Z.Jia / E P T.
* 完成日期:22:29 2003-3-8
------------------------------------------------*/

#if !defined(AFX_LZ_TEXTVIEW_H__47B69A68_B7C3_4FD0_9034_841AD452D246__INCLUDED_)
#define AFX_LZ_TEXTVIEW_H__47B69A68_B7C3_4FD0_9034_841AD452D246__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CLz_TextView : public CEditView
{
protected: // create from serialization only
	CLz_TextView();
	DECLARE_DYNCREATE(CLz_TextView)

// Attributes
public:
	CLz_TextDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLz_TextView)
	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 ~CLz_TextView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CLz_TextView)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	afx_msg void OnContextMenu(CWnd*, CPoint point);
	afx_msg void OnFilePrintPreview();
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in Lz_TextView.cpp
inline CLz_TextDoc* CLz_TextView::GetDocument()
   { return (CLz_TextDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_LZ_TEXTVIEW_H__47B69A68_B7C3_4FD0_9034_841AD452D246__INCLUDED_)

⌨️ 快捷键说明

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