fileterdlg.h

来自「这是一个用vc++编写的」· C头文件 代码 · 共 68 行

H
68
字号
#if !defined(AFX_FILETERDLG_H__33CCE1F6_9251_11D3_93DF_00A0C9685ADF__INCLUDED_)
#define AFX_FILETERDLG_H__33CCE1F6_9251_11D3_93DF_00A0C9685ADF__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// FileterDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CFileterDlg dialog
#include <winsock.h>
#include "ipaddr.h"
class CFileterDlg : public CDialog
{
// Construction
public:
	CFileterDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CFileterDlg)
	enum { IDD = IDD_FILTER };
	CListBox	m_list_sport;
	CListBox	m_list_dport;
	CListBox	m_list_dip;
	CListBox	m_list_sip;
	int		m_edit_sport;
	int		m_edit_dport;
	//}}AFX_DATA
	unsigned char m_sAddr[4];
	unsigned char m_dAddr[4];


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFileterDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CFileterDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonSipAdd();
	afx_msg void OnButtonDipAdd();
	afx_msg void OnButtonSportAdd();
	afx_msg void OnButtonDportAdd();
	afx_msg void OnButtonDipDel();
	afx_msg void OnButtonDportDel();
	afx_msg void OnButtonSipDel();
	afx_msg void OnButtonSportDel();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	CIPAddrCtl* m_pSIPAddrCtl;
	CIPAddrCtl* m_pDIPAddrCtl;

};

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_FILETERDLG_H__33CCE1F6_9251_11D3_93DF_00A0C9685ADF__INCLUDED_)

⌨️ 快捷键说明

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