📄 usbwaveview.h
字号:
#if !defined(AFX_USBWAVEVIEW_H__7F92E389_0465_4EE0_8281_0A32C33503EE__INCLUDED_)
#define AFX_USBWAVEVIEW_H__7F92E389_0465_4EE0_8281_0A32C33503EE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// USBWaveView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CUSBWaveView view
class CUSBWaveView : public CScrollView
{
protected:
CUSBWaveView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CUSBWaveView)
// Attributes
public:
CPen *OldPen;
CPen Pen;
int i, j;
int x;
int m_oldIndex;
float middle1;
int center;
int PerY;
long Offset; // 记录在8192点中当前偏移位置
CProgressCtrl* pProgress;
int CurrentProgress;
int CurrentX, CurrentY; // 用于控制当前光标
CPoint CurrentPoint;
BOOL m_Draw;
// Operations
public:
BOOL UpdateFrame(CDC* pDC);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CUSBWaveView)
public:
virtual void OnInitialUpdate();
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CUSBWaveView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CUSBWaveView)
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_USBWAVEVIEW_H__7F92E389_0465_4EE0_8281_0A32C33503EE__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -