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

📄 bcgpeditview.h

📁 远程网络监视程序的源码
💻 H
字号:
#if !defined(AFX_BCGPEDITVIEW_H__7C200AA0_5BE4_4C72_B0CF_2A5C51D18712__INCLUDED_)
#define AFX_BCGPEDITVIEW_H__7C200AA0_5BE4_4C72_B0CF_2A5C51D18712__INCLUDED_

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

#include "BCGCBPro.h"

class CBCGPEditCtrl;

class CBCGPEditFindDlg : public CFindReplaceDialog
{
friend class CBCGPEditView;

	virtual ~CBCGPEditFindDlg ();

protected:
	CBCGPEditView* m_pParent;
};

/////////////////////////////////////////////////////////////////////////////
// CBCGPEditView view

class BCGCBPRODLLEXPORT CBCGPEditView : public CView
{
	friend class CBCGPEditFindDlg;

protected:
	DECLARE_DYNCREATE(CBCGPEditView)
	CBCGPEditView();           // protected constructor used by dynamic creation

// Attributes
public:
	CBCGPEditCtrl* GetEditCtrl () const
	{
		return m_pWndEditCtrl;
	}

protected:
	CBCGPEditCtrl*		m_pWndEditCtrl;
	CBCGPEditFindDlg*	m_pFindDlg;

	static CString		m_strFindText;
	static CString		m_strReplaceText;
	static DWORD		m_dwFindMask;

// Operations
public:
	void SerializeRaw(CArchive& ar);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBCGPEditView)
	public:
	virtual void OnPrepareDC(CDC* pDC, CPrintInfo* pInfo = NULL);
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

	virtual BOOL FindText (const CString& strFind, DWORD dwFindMask);
	virtual void OnTextNotFound (LPCTSTR /*lpszFind*/) {}

// Implementation
protected:
	virtual ~CBCGPEditView();

#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	virtual CBCGPEditCtrl* CreateEdit ();

	// Generated message map functions
protected:
	//{{AFX_MSG(CBCGPEditView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnSetFocus(CWnd* pOldWnd);
	afx_msg void OnDestroy();
	//}}AFX_MSG
	afx_msg void OnFilePrintPreview();
	afx_msg void OnEditPreviousbookmark();
	afx_msg void OnEditCut();
	afx_msg void OnEditCopy();
	afx_msg void OnEditPaste();
	afx_msg void OnEditSelectAll();
	afx_msg void OnUpdateEditCut(CCmdUI* pCmdUI);
	afx_msg void OnUpdateEditCopy(CCmdUI* pCmdUI);
	afx_msg void OnEditRedo();
	afx_msg void OnUpdateEditRedo(CCmdUI* pCmdUI);
	afx_msg void OnEditUndo();
	afx_msg void OnUpdateEditUndo(CCmdUI* pCmdUI);
	afx_msg void OnEditFind();
	afx_msg void OnEditReplace();
	afx_msg LONG OnFindReplace(WPARAM wParam, LPARAM lParam);
	afx_msg LONG OnEditChange(WPARAM wParam, LPARAM lParam);
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_BCGPEDITVIEW_H__7C200AA0_5BE4_4C72_B0CF_2A5C51D18712__INCLUDED_)

⌨️ 快捷键说明

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