📄 histdatadoc.h
字号:
#if !defined(AFX_HistDataDoc_H__D442B985_8439_11D1_B87A_A3845A0CA5FE__INCLUDED_)
#define AFX_HistDataDoc_H__D442B985_8439_11D1_B87A_A3845A0CA5FE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// HistDataDoc.h : header file
//
#include "Sys.h"
#include "HistDataFrm.h"
/////////////////////////////////////////////////////////////////////////////
// CHistDataDoc document
class CHistDataDoc : public CDocument
{
protected:
CHistDataDoc(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CHistDataDoc)
public:
HWND m_hWndDigit; // 数字窗口句柄
HWND m_hWndWave; // 波形窗口句柄
// Attributes
public:
UINT m_ReadDataSize;
CFile m_File;
CString m_FileName;
DWORD m_FileLength;
FILE_HEADER m_Header; // 保存文件头信息
ULONG m_HeaderSize;//头文件大小
int m_ChannelCount;
ULONG m_Offset; // 文件偏移(字)
WORD m_ADBuffer[65536];
int m_Rate; // 回放速度
ULONG m_ScreenOffset; // 屏幕位置
public:
void ReadData(void);
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CHistDataDoc)
public:
virtual void Serialize(CArchive& ar); // overridden for document i/o
virtual BOOL OnNewDocument();
virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CHistDataDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CHistDataDoc)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_HistDataDoc_H__D442B985_8439_11D1_B87A_A3845A0CA5FE__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -