sndipdlg.h

来自「VC编写的简单发包程序和内存分配。内涵源码和测试。」· C头文件 代码 · 共 61 行

H
61
字号
#if !defined(AFX_SNDIPDLG_H__C36414C2_42CF_4770_8895_FA751883093B__INCLUDED_)
#define AFX_SNDIPDLG_H__C36414C2_42CF_4770_8895_FA751883093B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SndipDlg.h : header file
//
#include "resource.h"
#include "SendIpPack.h"
/////////////////////////////////////////////////////////////////////////////
// CSndipDlg dialog
UINT ThrSendIP(LPVOID start);

class CSndipDlg : public CDialog
{
// Construction
public:
	CSendIpPack IpPack;
	CSndipDlg(CWnd* pParent = NULL);   // standard constructor
	void IsShowCtrl(BOOL IsCtrl);
// Dialog Data
	//{{AFX_DATA(CSndipDlg)
	enum { IDD = IDD_DIALOG_SNDIP };
	UINT	m_flux;
	CString	m_ipaddr;
	int		m_port;
	int		m_proto;
	ULONG m_count;

	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSndipDlg)
	protected:

	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:


	// Generated message map functions
	//{{AFX_MSG(CSndipDlg)
	afx_msg void OnButtonStartsnd();
	virtual BOOL OnInitDialog();
	afx_msg void OnRadioIcmp();
	afx_msg void OnRadioTcp();
	afx_msg void OnRadioUdp();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SNDIPDLG_H__C36414C2_42CF_4770_8895_FA751883093B__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?