VcDemoDlg.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. char FilePath[512];
  15. int ManageUpdateSetTime(int iNumber,int iType,const char* pBeginDate,const char* pEndDate,int iFlag,const char* pTime,int iNTel,const char* pMessage, const char* pTel);
  16. int ManageReadSetTime(int iNumber,int iType,char pStr[10][1024]);
  17. int ManageReadNTels(int iNumber,char* sTel);
  18. int ManageDelAllTime();
  19. int ManageDelOneTime(int iNumber);
  20. int ManageUpdataTimeTelNo(int iNumber,int iNTel,const char* pTel);
  21. int ManageSendTimeMessage(int iType,CString sBeginDate,CString sEndDate,int iFlag,CString sTime,int iNTel,CString sMessage,CString sTels);
  22. CVcDemoDlg(CWnd* pParent = NULL); // standard constructor
  23. // Dialog Data
  24. //{{AFX_DATA(CVcDemoDlg)
  25. enum { IDD = IDD_VCDEMO_DIALOG };
  26. CButton m_btnSend;
  27. CButton m_btnConn;
  28. CListBox m_listCtrl;
  29. CString m_strSendSms;
  30. CString m_strLoginID;
  31. CString m_strLoginPwd;
  32. CString m_strRecvMobi;
  33. CString m_strServiceNo;
  34. CString m_strFeeCode;
  35. CString m_strLinkID;
  36. CString m_strNewPwd;
  37. BOOL m_chkboth;
  38. BOOL m_kfboth;
  39. BOOL m_chksingle;
  40. int m_mobicount;
  41. int m_Port;
  42. CString m_ServerIp;
  43. int m_TCPFlag;
  44. BOOL m_CHK_Flag;
  45. CString m_NumberNo;
  46. //}}AFX_DATA
  47. // ClassWizard generated virtual function overrides
  48. //{{AFX_VIRTUAL(CVcDemoDlg)
  49. protected:
  50. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  51. //}}AFX_VIRTUAL
  52. // Implementation
  53. protected:
  54. HICON m_hIcon;
  55. int m_hsock;
  56. // Generated message map functions
  57. //{{AFX_MSG(CVcDemoDlg)
  58. virtual BOOL OnInitDialog();
  59. afx_msg void OnPaint();
  60. afx_msg HCURSOR OnQueryDragIcon();
  61. afx_msg void OnBtnConnect();
  62. afx_msg void OnUpdateEnables();
  63. afx_msg void OnBtnRecv();
  64. afx_msg void OnDestroy();
  65. afx_msg void OnCancelMode();
  66. afx_msg void OnBtnSend();
  67. afx_msg void OnBtnQuery();
  68. afx_msg void OnBTNQuery2();
  69. afx_msg void OnBtnChangePwd();
  70. afx_msg void OnBtnTestConn();
  71. afx_msg void OnBtnGetStatus();
  72. afx_msg void OnChkSingle();
  73. afx_msg void OnChkBoth();
  74. afx_msg void OnChkKfboth();
  75. afx_msg void OnBtnDisconn();
  76. afx_msg void OnBUTTONSetTime();
  77. afx_msg void OnRadioTcp();
  78. afx_msg void OnRadioHttp();
  79. afx_msg void OnBUTTONCheckMsg();
  80. afx_msg void OnCHECKFlag();
  81. afx_msg void OnBUTTONAccount();
  82. //}}AFX_MSG
  83. DECLARE_MESSAGE_MAP()
  84. };
  85. //{{AFX_INSERT_LOCATION}}
  86. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  87. #endif // !defined(AFX_VCDEMODLG_H__06D6A3BF_D3AD_402D_802F_E81418C60ED7__INCLUDED_)