plxcview.h

来自「一个PLX教学编译器IDE」· C头文件 代码 · 共 59 行

H
59
字号

#if !defined(AFX_PLXCScrollView_H__5A23D884_BD0C_4F97_9FC9_E3CDF40BBE90__INCLUDED_)
#define AFX_PLXCScrollView_H__5A23D884_BD0C_4F97_9FC9_E3CDF40BBE90__INCLUDED_

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

#include "AdvRichEdit.h"
#include "_MESSAGE_DEF.H"

class CPlxcView : public CView
{
protected: 
	CPlxcView();
	DECLARE_DYNCREATE(CPlxcView)

public:
	CPlxcDoc* GetDocument();
	CAdvRichEdit m_ctrlSyntaxEditor;

protected:
    CRect  marginRect;
    int    m_breakPoint;

public:
	//{{AFX_VIRTUAL(CPlxCScrollView)
	public:
	virtual void OnDraw(CDC* pDC);  
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL
public:
	void MsgTransmitProc(LPACTION pAction);
	virtual ~CPlxcView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
	//{{AFX_MSG(CPlxCScrollView)
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnBreakpoint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG 
inline CPlxcDoc* CPlxcView::GetDocument()
   { return (CPlxcDoc*)m_pDocument; }
#endif
//{{AFX_INSERT_LOCATION}}
#endif // !defined(AFX_PLXCScrollView_H__5A23D884_BD0C_4F97_9FC9_E3CDF40BBE90__INCLUDED_)

⌨️ 快捷键说明

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