wavdvw.h
来自「西安电子科技大学王亚民教授所著《组态软件设计与开发》附带的源代码07章」· C头文件 代码 · 共 44 行
H
44 行
// wavdvw.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CWaveDataView view
class CWaveDataView : public CScrollView
{
DECLARE_DYNCREATE(CWaveDataView)
protected:
CWaveDataView(); // Protected constructor used by dynamic creation.
// Attributes
public:
CWavesDoc* GetDocument() {return (CWavesDoc*) m_pDocument;}
// Operations
public:
void At(CDC* pDC, int line, char* fmt, ...);
// Implementation
protected:
virtual ~CWaveDataView();
virtual void OnDraw(CDC* pDC); // Overridden to draw this view
virtual void OnInitialUpdate(); // First time after construct
// Generated message map functions
//{{AFX_MSG(CWaveDataView)
afx_msg void OnFileSave();
afx_msg void OnFileSaveAs();
afx_msg void OnFilePlay();
afx_msg void OnFileStop();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CFont m_Font;
int m_iFontWidth;
int m_iFontHeight;
};
/////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?