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

📄 bch_codingview.h

📁 bch 编码的源代码 用vc写的 供大家参考使用
💻 H
字号:
// BCH_CodingView.h : interface of the CBCH_CodingView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_BCH_CODINGVIEW_H__904499E6_886B_4F6B_A0FB_158B6DA2FCAF__INCLUDED_)
#define AFX_BCH_CODINGVIEW_H__904499E6_886B_4F6B_A0FB_158B6DA2FCAF__INCLUDED_

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


class CBCH_CodingView : public CScrollView
{
protected: // create from serialization only
	CBCH_CodingView();
	DECLARE_DYNCREATE(CBCH_CodingView)

// Attributes
public:
	uint16_t	text_x, text_y;	//输出文字的x、y坐标	
	uint32_t	x_total, y_total;
public:
	CBCH_CodingDoc* GetDocument();
	void UpdateScrollSizes();
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBCH_CodingView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CBCH_CodingView)
	afx_msg void OnSize(UINT nType, int cx, int cy);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in BCH_CodingView.cpp
inline CBCH_CodingDoc* CBCH_CodingView::GetDocument()
   { return (CBCH_CodingDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_BCH_CODINGVIEW_H__904499E6_886B_4F6B_A0FB_158B6DA2FCAF__INCLUDED_)

⌨️ 快捷键说明

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