TAPICaseView.h
上传用户:fstfhk1234
上传日期:2007-06-12
资源大小:67k
文件大小:2k
源码类别:

TAPI编程

开发平台:

Visual C++

  1. // TAPICaseView.h : interface of the CTAPICaseView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_TAPICASEVIEW_H__1378EDAF_1498_4FC6_8D10_B5F455D08D51__INCLUDED_)
  5. #define AFX_TAPICASEVIEW_H__1378EDAF_1498_4FC6_8D10_B5F455D08D51__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CTAPICaseView : public CFormView
  10. {
  11. protected: // create from serialization only
  12. CTAPICaseView();
  13. DECLARE_DYNCREATE(CTAPICaseView)
  14. public:
  15. //{{AFX_DATA(CTAPICaseView)
  16. enum { IDD = IDD_TAPICASE_FORM };
  17. CListBox m_ctrlProgress;
  18. CStatic m_ctrlIcon;
  19. CButton m_ctrlDial;
  20. CButton m_ctrlDisconnect;
  21. CComboBox m_ctrlLine;
  22. CListBox m_ctrlListBox;
  23. CString m_strLine;
  24. CString m_strPhoneNumber;
  25. //}}AFX_DATA
  26. // Attributes
  27. public:
  28. CTAPICaseDoc* GetDocument();
  29. // Operations
  30. public:
  31. // Overrides
  32. // ClassWizard generated virtual function overrides
  33. //{{AFX_VIRTUAL(CTAPICaseView)
  34. public:
  35. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  36. protected:
  37. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  38. virtual void OnInitialUpdate(); // called first time after construct
  39. virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  40. virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  41. virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  42. virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
  43. //}}AFX_VIRTUAL
  44. // Implementation
  45. public:
  46. virtual ~CTAPICaseView();
  47. #ifdef _DEBUG
  48. virtual void AssertValid() const;
  49. virtual void Dump(CDumpContext& dc) const;
  50. #endif
  51. protected:
  52. // Generated message map functions
  53. protected:
  54. //{{AFX_MSG(CTAPICaseView)
  55. afx_msg void OnDial();
  56. afx_msg void OnDisconnected();
  57. afx_msg void OnLineconfigure();
  58. afx_msg void OnDialproperty();
  59. afx_msg void OnSelchangeLine();
  60. //}}AFX_MSG
  61. DECLARE_MESSAGE_MAP()
  62. };
  63. #ifndef _DEBUG  // debug version in TAPICaseView.cpp
  64. inline CTAPICaseDoc* CTAPICaseView::GetDocument()
  65.    { return (CTAPICaseDoc*)m_pDocument; }
  66. #endif
  67. /////////////////////////////////////////////////////////////////////////////
  68. //{{AFX_INSERT_LOCATION}}
  69. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  70. #endif // !defined(AFX_TAPICASEVIEW_H__1378EDAF_1498_4FC6_8D10_B5F455D08D51__INCLUD ED_)