CALLINFO.H
资源名称:tapi3.zip [点击查看]
上传用户:chinamans
上传日期:2013-03-17
资源大小:202k
文件大小:2k
源码类别:
TAPI编程
开发平台:
Visual C++
- // callinfo.h : header file for CCallInfo
- // (c) Dialogic corp 1995, 1996
- /////////////////////////////////////////////////////////////////////////////
- #include "wavstate.h" // states for WAVE
- // CCallInfo dialog
- class CCallInfo : public CPropertyPage
- {
- DECLARE_DYNCREATE(CCallInfo)
- // Construction
- public:
- CCallInfo();
- ~CCallInfo();
- // Dialog Data
- //{{AFX_DATA(CCallInfo)
- enum { IDD = IDD_CALLINFO };
- CButton m_btnCallAlert;
- CSliderCtrl m_ctlVolume;
- CButton m_btnStop;
- CButton m_btnPause;
- CButton m_btnGather;
- CButton m_btnMonitor;
- CButton m_btnRecord;
- CButton m_btnPlay;
- CString m_csCallInfo;
- CString m_csCallState;
- CString m_csCallAction;
- CString m_csGathered;
- CString m_csLastDigit;
- CString m_csGatherRes;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generate virtual function overrides
- //{{AFX_VIRTUAL(CCallInfo)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- public:
- void DisplayCallInfo(BOOL bUpdateCallInfo=FALSE);
- void UpdateDigitsMonitorStatus(BOOL bReadGathered=FALSE, UINT wParam=0, LONG lParam=0);
- // Attributes
- public:
- CString m_csCaption;
- CString *m_pLineName; // for client/server stuff
- CString *m_pWaveName;
- CString *m_pWaveRecName;
- //CString m_csWaveName;
- CTapiCall *m_pCall;
- CTapiLine *m_pLine;
- int *m_pnWaveFormatID;
- DWORD *m_pdwRecFileSize;
- DWORD m_nRecTime;
- UINT m_uiMsg; // Alert message
- BOOL m_bRemote; // running ona remote computer
- BOOL m_bRunningOnNT;
- protected:
- // Generated message map functions
- //{{AFX_MSG(CCallInfo)
- virtual BOOL OnInitDialog();
- afx_msg void OnPlay();
- afx_msg void OnRecord();
- afx_msg void OnRefresh();
- afx_msg void OnClose();
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg void OnInfobtn();
- afx_msg void OnMonitor();
- afx_msg void OnDestroy();
- afx_msg void OnCallalert();
- afx_msg void OnGather();
- afx_msg void OnPause();
- afx_msg void OnStop();
- afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
- afx_msg LONG OnDynamicAlert(UINT wParam, LONG lParam);
- afx_msg void OnGentone();
- afx_msg void OnSetFocus(CWnd* pOldWnd);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };