VcDemoDlg.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. // VcDemoDlg.h : header file
  2. //
  3. #if !defined(AFX_VCDEMODLG_H__06D6A3BF_D3AD_402D_802F_E81418C60ED7__INCLUDED_)
  4. #define AFX_VCDEMODLG_H__06D6A3BF_D3AD_402D_802F_E81418C60ED7__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CVcDemoDlg dialog
  10. class CVcDemoDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CVcDemoDlg(CWnd* pParent = NULL); // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CVcDemoDlg)
  17. enum { IDD = IDD_VCDEMO_DIALOG };
  18. CButton m_btnSend;
  19. CButton m_btnConn;
  20. CListBox m_listCtrl;
  21. CString m_strSendSms;
  22. CString m_strLoginID;
  23. CString m_strLoginPwd;
  24. CString m_strRecvMobi;
  25. CString m_strServiceNo;
  26. CString m_strFeeCode;
  27. CString m_strLinkID;
  28. CString m_strNewPwd;
  29. BOOL m_chkboth;
  30. BOOL m_kfboth;
  31. BOOL m_chksingle;
  32. int m_mobicount;
  33. int m_Port;
  34. CString m_ServerIp;
  35. BOOL m_bProxy;
  36. BOOL m_Tcp;
  37. //}}AFX_DATA
  38. // ClassWizard generated virtual function overrides
  39. //{{AFX_VIRTUAL(CVcDemoDlg)
  40. protected:
  41. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  42. //}}AFX_VIRTUAL
  43. // Implementation
  44. protected:
  45. HICON m_hIcon;
  46. int m_hsock;
  47. // Generated message map functions
  48. //{{AFX_MSG(CVcDemoDlg)
  49. virtual BOOL OnInitDialog();
  50. afx_msg void OnPaint();
  51. afx_msg HCURSOR OnQueryDragIcon();
  52. afx_msg void OnBtnConnect();
  53. afx_msg void OnUpdateEnables();
  54. afx_msg void OnBtnRecv();
  55. afx_msg void OnDestroy();
  56. afx_msg void OnCancelMode();
  57. afx_msg void OnBtnSend();
  58. afx_msg void OnBtnQuery();
  59. afx_msg void OnBTNQuery2();
  60. afx_msg void OnBtnChangePwd();
  61. afx_msg void OnBtnTestConn();
  62. afx_msg void OnBtnGetStatus();
  63. afx_msg void OnChkSingle();
  64. afx_msg void OnChkBoth();
  65. afx_msg void OnChkKfboth();
  66. afx_msg void OnBtnDisconn();
  67. afx_msg void OnType();
  68. afx_msg void OnChkProxy();
  69. afx_msg void OnCHECKtcp();
  70. //}}AFX_MSG
  71. DECLARE_MESSAGE_MAP()
  72. };
  73. //{{AFX_INSERT_LOCATION}}
  74. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  75. #endif // !defined(AFX_VCDEMODLG_H__06D6A3BF_D3AD_402D_802F_E81418C60ED7__INCLUDED_)