⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wavsvw.h

📁 西安电子科技大学王亚民教授所著《组态软件设计与开发》附带的源代码07章
💻 H
字号:
// wavsvw.h : interface of the CWaveSampleView class
//
/////////////////////////////////////////////////////////////////////////////

class CWaveSampleView : public CView
{
protected: // Create from serialization only.
    CWaveSampleView();
    DECLARE_DYNCREATE(CWaveSampleView)

// Attributes
public:
    CWavesDoc* GetDocument();

// Operations
public:

// Implementation
public:
    virtual ~CWaveSampleView();
    virtual void OnInitialUpdate();
    virtual void OnDraw(CDC* pDC);  // Overridden to draw this view
    virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
#ifdef _DEBUG
    virtual void AssertValid() const;
    virtual void Dump(CDumpContext& dc) const;
#endif

private:
    int m_iWndSamples;
    int m_iFirstSample;
    int m_iNumSamples;


// Generated message map functions
protected:
    //{{AFX_MSG(CWaveSampleView)
    afx_msg void OnFileSave();
    afx_msg void OnFileSaveAs();
    afx_msg void OnFilePlay();
    afx_msg void OnFileStop();
    afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
    afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
    afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
    afx_msg BOOL OnEraseBkgnd(CDC* pDC);
    //}}AFX_MSG
    DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in wavsvw.cpp
inline CWavesDoc* CWaveSampleView::GetDocument()
   { return (CWavesDoc*) m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

⌨️ 快捷键说明

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