playwavedlg.h

来自「用C++编写的WAV文件操作小例程,方便C语言及C++初学者学习交流」· C头文件 代码 · 共 64 行

H
64
字号
// PlayWaveDlg.h : header file
//

#if !defined(AFX_PLAYWAVEDLG_H__EB626575_7C91_42BA_9A3D_690C6E506C97__INCLUDED_)
#define AFX_PLAYWAVEDLG_H__EB626575_7C91_42BA_9A3D_690C6E506C97__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CPlayWaveDlg dialog

class CPlayWaveDlg : public CDialog
{
public:
	int m_wDeviceID;
	int m_startnum;
	bool m_InPlay;

// Construction
public:
	CPlayWaveDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CPlayWaveDlg)
	enum { IDD = IDD_PLAYWAVE_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPlayWaveDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CPlayWaveDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnBtnOpen();
	afx_msg void OnBtnPlay();
	afx_msg void OnBtnPause();
	afx_msg void OnBtnEndrecord();
	afx_msg void OnBtnGoback();
	afx_msg void OnBtnForward();
	afx_msg void OnBtnStartrecord();
	afx_msg void OnBtnExit();
	afx_msg void OnBtnStop();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PLAYWAVEDLG_H__EB626575_7C91_42BA_9A3D_690C6E506C97__INCLUDED_)

⌨️ 快捷键说明

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