bch_codingview.h
来自「bch 编码的源代码 用vc写的 供大家参考使用」· C头文件 代码 · 共 67 行
H
67 行
// 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 + =
减小字号Ctrl + -
显示快捷键?