WordRecPDADlg.h
资源名称:语音程序.rar [点击查看]
上传用户:lczygg
上传日期:2007-07-03
资源大小:2947k
文件大小:2k
源码类别:
语音合成与识别
开发平台:
Visual C++
- // WordRecPDADlg.h : header file
- //
- #if !defined(AFX_WORDRECPDADLG_H__FD8F76B3_AF53_481F_A669_F5B0C2EA43F7__INCLUDED_)
- #define AFX_WORDRECPDADLG_H__FD8F76B3_AF53_481F_A669_F5B0C2EA43F7__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CWordRecPDADlg dialog
- #include "CardDlg.h"
- class CWordRecPDADlg : public CDialog
- {
- // Construction
- public:
- CWordRecPDADlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CWordRecPDADlg)
- enum { IDD = IDD_WORDRECPDA_DIALOG };
- CListBox m_ctrAll;
- CProgressCtrl m_ctrVol;
- CComboBox m_ctrCmd;
- CComboBox m_ctrAM;
- CListBox m_ctrWrd;
- CButton m_ctrTest;
- CButton m_ctrStop;
- CButton m_ctrStart;
- CString m_strInf;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CWordRecPDADlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- int m_nTmCount;
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CWordRecPDADlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnButtonStart();
- afx_msg void OnButtonStop();
- afx_msg void OnButtonTest();
- afx_msg void OnSelchangeComboAm();
- afx_msg void OnSelchangeComboCmd();
- afx_msg void OnSelchangeListWord();
- afx_msg void OnButtonEdit();
- afx_msg void OnSelchangeListAll();
- afx_msg void OnButtonDel();
- afx_msg void OnTest1();
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg void OnDestroy();
- //}}AFX_MSG
- afx_msg LRESULT OnBeginUtterance(WPARAM, LPARAM);
- afx_msg LRESULT OnAddWaveFrame(WPARAM, LPARAM);
- afx_msg LRESULT OnEndUtterance(WPARAM, LPARAM);
- afx_msg LRESULT OnDragonFirm(WPARAM, LPARAM);
- afx_msg LRESULT OnDragonGetVolume(WPARAM, LPARAM);
- //
- DECLARE_MESSAGE_MAP()
- private:
- void DemoAllCmd(void);
- int m_nGetVol;
- char m_strAM[MAX_PATH];
- char m_strCmd[MAX_PATH];
- char *m_strResult[5], *m_strInfo[5];
- char m_strCurSelWrd[MAX_PATH];
- CCardDlg oCardEdit;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_WORDRECPDADLG_H__FD8F76B3_AF53_481F_A669_F5B0C2EA43F7__INCLUDED_)