www.pudn.com > UdpMulticast.rar > UdpMulticastDlg.h


// UdpMulticastDlg.h : header file 
// 
 
#if !defined(AFX_UDPMULTICASTDLG_H__8DCCE4C4_F24F_4C47_81F1_3665476F8E05__INCLUDED_) 
#define AFX_UDPMULTICASTDLG_H__8DCCE4C4_F24F_4C47_81F1_3665476F8E05__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
///////////////////////////////////////////////////////////////////////////// 
// CUdpMulticastDlg dialog 
 
#include "MultiCast.h" 
 
class CUdpMulticastDlg : public CDialog 
{ 
// Construction 
public: 
	CUdpMulticastDlg(CWnd* pParent = NULL);	// standard constructor 
 
public: 
	CMultiCast m_mcast; 
 
// Dialog Data 
	//{{AFX_DATA(CUdpMulticastDlg) 
	enum { IDD = IDD_UDPMULTICAST_DIALOG }; 
	CEdit	m_edtMsg; 
	CListBox	m_lsbMsg; 
	CString	m_strMsg; 
	CString	m_strGAddr; 
	short	m_sPort; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CUdpMulticastDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CUdpMulticastDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnBtnJion(); 
	afx_msg void OnBtnLeave(); 
	afx_msg void OnBtnSend(); 
	afx_msg void OnDestroy(); 
	//}}AFX_MSG 
	afx_msg LRESULT OnReceive(WPARAM wParam, LPARAM lParam); 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_UDPMULTICASTDLG_H__8DCCE4C4_F24F_4C47_81F1_3665476F8E05__INCLUDED_)