MFC AppDlg.h
资源名称:111.rar [点击查看]
上传用户:mony888
上传日期:2022-07-26
资源大小:1247k
文件大小:2k
源码类别:
Windows CE
开发平台:
Visual C++
- // 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_)