hexvidoc.h
来自「Visual C++编程宝典随书光盘里的代码」· C头文件 代码 · 共 49 行
H
49 行
// hexvidoc.h : interface of the CHexViewDoc class
//
/////////////////////////////////////////////////////////////////////////////
class CHexViewDoc : public CDocument
{
protected: // create from serialization only
CHexViewDoc();
DECLARE_DYNCREATE(CHexViewDoc)
// Attributes
public:
CFile* m_pFile;
LONG m_lFileSize;
// Operations
public:
BOOL ReadLine(CString& strLine, int nLength, LONG lOffset = -1);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CHexViewDoc)
public:
virtual BOOL OnNewDocument();
virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CHexViewDoc();
virtual void Serialize(CArchive& ar); // overridden for document i/o
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CHexViewDoc)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?