BroadcastSvrDlg.h
上传用户:qzzxgm
上传日期:2009-12-14
资源大小:1882k
文件大小:1k
- // BroadcastSvrDlg.h : header file
- //
- #if !defined(AFX_BROADCASTSVRDLG_H__22553A67_8978_11D6_8F32_00E04CE76240__INCLUDED_)
- #define AFX_BROADCASTSVRDLG_H__22553A67_8978_11D6_8F32_00E04CE76240__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CBroadcastSvrDlg dialog
- class CBroadcastSvrDlg : public CDialog
- {
- // Construction
- public:
- CBroadcastSvrDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CBroadcastSvrDlg)
- enum { IDD = IDD_BROADCASTSVR_DIALOG };
- CString m_szSend;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CBroadcastSvrDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- CSocket m_sockSend; //发送数据的套节字
-
- // Generated message map functions
- //{{AFX_MSG(CBroadcastSvrDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg void OnBroadcast();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_BROADCASTSVRDLG_H__22553A67_8978_11D6_8F32_00E04CE76240__INCLUDED_)