mfc appdlg.h
来自「实现了录音,放音功能!在evc4.0下编译功过,wince5.0下能正常录音,放」· C头文件 代码 · 共 80 行
H
80 行
// MFC AppDlg.h : header file
//
#if !defined(AFX_MFCAPPDLG_H__4C26B0C4_20C2_4DA5_88B4_B44D84AF59BD__INCLUDED_)
#define AFX_MFCAPPDLG_H__4C26B0C4_20C2_4DA5_88B4_B44D84AF59BD__INCLUDED_
#include "Record.h" // Added by ClassView
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// CMFCAppDlg dialog
class CMFCAppDlg : public CDialog
{
// Construction
public:
// WaveHdr m_WaveHeader;
unsigned int m_uiTimer2Count;
char m_cTitle[256];
unsigned int m_uiPlayTime;
unsigned int m_uiVolIndex;
CRect m_ShowRect;
UINT m_nTimer;
BOOL m_bRecFlag;
LPCTSTR m_lpFileName;
/**/
CXPlayerCore m_xplayer;
/**/
CMFCAppDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMFCAppDlg)
enum { IDD = IDD_MFCAPP_DIALOG };
CButton m_btVol;
CSliderCtrl m_slidVol;
CStatic m_staticWave;
CButton m_btPlay;
CSliderCtrl m_slidIndex;
CButton m_btPaus;
CButton m_btClos;
CButton m_btRec;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMFCAppDlg)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMFCAppDlg)
virtual BOOL OnInitDialog();
afx_msg void OnRec();
afx_msg void OnClosRec();
afx_msg void OnPaus();
afx_msg void OnbtPlay();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnBtVol();
afx_msg void OnClose();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
BOOL m_bPlayFlag;
int m_iPosCount;
DWORD m_nRecThreadID;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MFCAPPDLG_H__4C26B0C4_20C2_4DA5_88B4_B44D84AF59BD__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?