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

📄 hexviewerview.h

📁 Visual_C++[1].NET_Bible1 Visual_C++宝典书中的全部源码
💻 H
字号:
// HexViewerView.h : interface of the CHexViewerView class
//


#pragma once


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

// Attributes
public:
	CHexViewerDoc* GetDocument() const;

// Operations
protected:
	CFont*	m_pFont;
	LOGFONT	m_logfont;
	int		m_nPointSize;
	int		m_nPageHeight;
	int		m_nPageWidth;

int MeasureFontHeight(CFont* pFont, CDC* pDC);

// Overrides
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
	virtual void OnInitialUpdate(); // called first time after construct
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);

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

protected:

// Generated message map functions
protected:
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in HexViewerView.cpp
inline CHexViewerDoc* CHexViewerView::GetDocument() const
   { return reinterpret_cast<CHexViewerDoc*>(m_pDocument); }
#endif

⌨️ 快捷键说明

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