BroadcastSvrDlg.h
上传用户:qzzxgm
上传日期:2009-12-14
资源大小:1882k
文件大小:1k
源码类别:

书籍源码

开发平台:

Visual C++

  1. // BroadcastSvrDlg.h : header file
  2. //
  3. #if !defined(AFX_BROADCASTSVRDLG_H__22553A67_8978_11D6_8F32_00E04CE76240__INCLUDED_)
  4. #define AFX_BROADCASTSVRDLG_H__22553A67_8978_11D6_8F32_00E04CE76240__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CBroadcastSvrDlg dialog
  10. class CBroadcastSvrDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CBroadcastSvrDlg(CWnd* pParent = NULL); // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CBroadcastSvrDlg)
  17. enum { IDD = IDD_BROADCASTSVR_DIALOG };
  18. CString m_szSend;
  19. //}}AFX_DATA
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CBroadcastSvrDlg)
  22. protected:
  23. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  24. //}}AFX_VIRTUAL
  25. // Implementation
  26. protected:
  27. HICON m_hIcon;
  28. CSocket m_sockSend; //发送数据的套节字
  29. // Generated message map functions
  30. //{{AFX_MSG(CBroadcastSvrDlg)
  31. virtual BOOL OnInitDialog();
  32. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  33. afx_msg void OnPaint();
  34. afx_msg HCURSOR OnQueryDragIcon();
  35. afx_msg void OnTimer(UINT nIDEvent);
  36. afx_msg void OnBroadcast();
  37. //}}AFX_MSG
  38. DECLARE_MESSAGE_MAP()
  39. };
  40. //{{AFX_INSERT_LOCATION}}
  41. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  42. #endif // !defined(AFX_BROADCASTSVRDLG_H__22553A67_8978_11D6_8F32_00E04CE76240__INCLUDED_)