hexviewerdoc.h

来自「Visual_C++[1].NET_Bible1 Visual_C++宝典书中」· C头文件 代码 · 共 47 行

H
47
字号
// HexViewerDoc.h : interface of the CHexViewerDoc class
//


#pragma once

class CHexViewerDoc : public CDocument
{
protected: // create from serialization only
	CHexViewerDoc();
	DECLARE_DYNCREATE(CHexViewerDoc)

// Attributes
public:
	CFile* m_pFile;
	LONG m_lFileSize;

public:
  BOOL ReadLine(CString& strLine, int nLength, LONG lOffset = -1L);

// Operations
public:

// Overrides
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);

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

protected:

// Generated message map functions
protected:
	DECLARE_MESSAGE_MAP()
public:
  virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
};


⌨️ 快捷键说明

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